[wp-trac] [WordPress Trac] #26343: has_shortcode not recognizing nested shortcodes

WordPress Trac noreply at wordpress.org
Fri Aug 1 16:56:34 UTC 2014


#26343: has_shortcode not recognizing nested shortcodes
---------------------------+-----------------------------
 Reporter:  sunyatasattva  |       Owner:  wonderboymusic
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  4.0
Component:  Shortcodes     |     Version:  3.6
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------------
Changes (by wonderboymusic):

 * keywords:  has-patch 2nd-opinion => has-patch
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 `has_shortcode()` was written by me during 3.6, specifically to identify
 an arbitrary shortcode in a blob of text, nested or not. The fact that it
 didn't return nested shortcodes was a mistake, a bug.

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


More information about the wp-trac mailing list