[wp-trac] [WordPress Trac] #33134: Complex Nested Shortcodes Inside of Attributes Are Not Processed Left-to-Right

WordPress Trac noreply at wordpress.org
Wed Nov 16 18:21:31 UTC 2016


#33134: Complex Nested Shortcodes Inside of Attributes Are Not Processed Left-to-
Right
--------------------------+------------------------------
 Reporter:  miqrogroove   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Shortcodes    |     Version:  4.2.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by gitlost):

 Thought I might as well update and post this patch (which dates from the
 time over a year ago but wasn't posted for various reasons) that
 ameliorates the out-of-band behaviour by pre-checking for
 `unfiltered_html` indicators, only processing the shortcodes out of
 sequence if none found, and as a workaround allows one to signal one's
 unfilteredness by using dummy attributes if necessary.

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


More information about the wp-trac mailing list