[wp-trac] [WordPress Trac] #24990: Nested Shortcode Inside [caption]

WordPress Trac noreply at wordpress.org
Thu Apr 24 08:37:01 UTC 2014


#24990: Nested Shortcode Inside [caption]
------------------------------------------+-----------------------------
 Reporter:  prionkor                      |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Media                         |     Version:  3.6
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------

Comment (by pputzer):

 I've got an even more vexing problem in the media-credit plugin (currently
 solved by replacing wp_caption and caption with my own code, as well as a
 modified wpeditimage plugin for the visual editor).


 {{{
 [caption][shortcode]<a href=""><img></a>[/shortcode] Caption
 Text[/caption]
 }}}

 The opening shortcode get's thrown out completely because caption only
 begins to parse at {{{<a ...}}} :(

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24990#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list