[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 03:33:31 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:  needs-patch dev-feedback  |
--------------------------------------+------------------------------

Comment (by adamsilverstein):

 Replying to [comment:1 a.hoereth]:
 > #24263 is a rudimentary migration of the "do shortcode" function from
 [http://core.trac.wordpress.org/browser/trunk/wp-
 includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js#L124
 editor_plugin.js] to the revisions interface.
 >
 > It displays the captions nicely, but only when nothing inside the
 caption shortcode changed in any of the compared revisions.
 >
 > Todo: Caption should also be displayed visually when newly added or only
 caption text was changed..
 >
 > Waiting for dev feedback before further investigating on this

 works, except this looks like old code, looking for the current code to
 include instead of reproduce

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


More information about the wp-trac mailing list