syntaxhighlighter icon indicating copy to clipboard operation
syntaxhighlighter copied to clipboard

BugFix for display and restoring post revisions

Open ghost opened this issue 11 years ago • 0 comments

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.

ghost avatar May 26 '13 03:05 ghost