[wp-trac] [WordPress Trac] #24263: Revision view should display shortcodes the same as the visual editor
WordPress Trac
noreply at wordpress.org
Mon May 6 11:56:27 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 | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> 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?
New description:
Follow up on [comment:ticket:24254:10]:
The revision viewer changes to feel more like the visual editor with 3.6 .
It no longer uses `htmlspecialchars` but `wp_kses_post` ([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#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list