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

WordPress Trac noreply at wordpress.org
Fri Jul 18 09:43:22 UTC 2014


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

Comment (by kovshenin):

 Replying to [comment:14 engelen]: I disagree. The fact that
 has_shortcode() didn't return true for nested shortcodes is a bug, not an
 enhancement. I don't see a reason why we should implement an argument that
 would make the function work "half-way" by default.

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


More information about the wp-trac mailing list