[wp-trac] [WordPress Trac] #24263: Revision view should display shortcodes the same as the visual editor

WordPress Trac noreply at wordpress.org
Sat May 4 19:16:12 UTC 2013


#24263: Revision view should display shortcodes the same as the visual editor
--------------------------+--------------------------------------
 Reporter:  a.hoereth     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Revisions     |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-patch dev-feedback
--------------------------+--------------------------------------
 Follow up on [http://core.trac.wordpress.org/ticket/24254#comment:10
 #24254]:

 The revision viewer changes to feel more like the visual editor with 3.6 .
 It no longer uses `htmlspecialchars` but `wp_kses_post`
 ([http://core.trac.wordpress.org/changeset/23506 #23506]). So it now
 displays images, links etc no longer just as code.

 To be consistent the revisions view should also have the same behavior as
 the visual editor for `[caption]` and `[gallery]` shortcodes.

 For `[gallery]` it is important changes are still being displayed if
 present. The shortcode is just replaced by a [http://d.pr/i/tlYD
 placeholder] in the editor - not very meaningful for revisions. Or don't
 display it at all?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24263>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list