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

WordPress Trac noreply at wordpress.org
Tue Sep 22 08:53:21 UTC 2015


#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-unit-tests has-patch  |     Focuses:
----------------------------------------+-----------------------------

Comment (by pputzer):

 I've just been thinking about this ticket again. I kinda like @tychay's
 idea about filtering `$matches`. This way, plugins can override the regex
 and modify the `$content` (via `$matches[1]`) at the same time. I'll try
 to come up with a patch proposal.

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


More information about the wp-trac mailing list