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

WordPress Trac noreply at wordpress.org
Tue Dec 3 00:36:33 UTC 2013


#26343: has_shortcode not recognizing nested shortcodes
---------------------------+------------------------------
 Reporter:  sunyatasattva  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Shortcodes     |     Version:  3.6
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------------------

Comment (by sunyatasattva):

 Thank you!

 I am not sure, but off the top of my head I would ask: isn't
 `shortcode[5]` always going to be set? Perhaps `!empty` would be better?
 Perhaps I am wrong, I just remember that it was set when I was debugging
 the patch.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26343#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list