Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugFix for double encoding of posts that get trashed and restored #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ghost
Copy link

@ghost ghost commented Jun 8, 2013

Description:

Trashing and untrashing posts double encodes SH shortcode content

Steps to reproduce:

  1. Create a post
  2. In the text tab of tiny mce add a SH shortcode with in it.
  3. Save the post
  4. Trash the post
  5. Undo or Restore the post
  6. Edit the post (to view double encoding)

Example short code
`[php]

[/php]`

Expected output:

The user should be able trash and restore without altering the content of the shortcode

Actual Output:

The content of the shortcode get double encoded.

Tested with: WordPress 3.6-beta3-24430

Fixes double encding og shortcode content when trashing then restoring
posts.
@donnchawp
Copy link
Contributor

I don't think this is an issue any more, at least with Gutenberg blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant