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

WordPress Trac noreply at wordpress.org
Thu Jul 17 17:37:53 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):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29207"]:
 {{{
 #!CommitTicketReference repository="" revision="29207"
 After [29197], use `! empty()` instead of `isset()`. Don't call
 `has_shortcode()` internally twice if it's true.

 Props kovshenin.
 Fixes #26343.
 }}}

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


More information about the wp-trac mailing list