Skip to content

BugFix for display and restoring post revisions#15

Open
ghost wants to merge 1 commit intomasterfrom
unknown repository
Open

BugFix for display and restoring post revisions#15
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented May 26, 2013

This pull request addresses the following two issues:

  1. Currently when revisions are displayed with SH shortcodes, the content within the shortcodes is shown in an encoded state.
  2. When revisions are restored the id of the post is the only thing edited. The content is already encoded regardless of decoding it for display. So restoring a post with SH shortcodes will re-encode previously encoded entities. Multiple restores compounds the effect.

Decode revisions when displayed and do not re-encode them upon restore.
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.

0 participants