[wp-trac] [WordPress Trac] #24263: Revision view should display shortcodes the same as the visual editor
WordPress Trac
noreply at wordpress.org
Sun May 5 22:06:48 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 |
------------------------------------+------------------------------
Changes (by a.hoereth):
* keywords: needs-patch dev-feedback => dev-feedback has-patch
Comment:
[http://core.trac.wordpress.org/attachment/ticket/24263/24263.2.patch
24263.2.patch] uses `do_shortcode` in addition to `wp_kses_post`. This
could result in errors when plugins register shortcodes in admin, but not
all required scripts etc.
[http://core.trac.wordpress.org/attachment/ticket/24263/24263.3.patch
24263.3.patch] uses a custom array for defining which shortcodes should be
applyed. The regex is copyied from
[http://core.trac.wordpress.org/browser/trunk/wp-
includes/shortcodes.php#L191 wp-incudes/shortcodes.php:191ff].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24263#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list