[wp-trac] [WordPress Trac] #34167: Shortcode_atts pass $shortcode

WordPress Trac noreply at wordpress.org
Tue Oct 6 13:10:11 UTC 2015


#34167: Shortcode_atts pass $shortcode
-------------------------+------------------------------
 Reporter:  mattheu      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------
Changes (by jdgrimes):

 * keywords:   => has-patch


Comment:

 Just FYI, another option in a case like this is to use the
 `current_filter()` function to determine the value of the dynamic portion
 of the hook. Your patch would be even better, of course. :-)

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


More information about the wp-trac mailing list