[wp-trac] [WordPress Trac] #21676: Pass a variable to get_template_part()

WordPress Trac noreply at wordpress.org
Mon Aug 26 19:05:52 UTC 2013


#21676: Pass a variable to get_template_part()
-----------------------------+----------------------
 Reporter:  sc0ttkclark      |       Owner:
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Template         |     Version:  3.4.1
 Severity:  normal           |  Resolution:  wontfix
 Keywords:  has-patch close  |
-----------------------------+----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Since the original example proves that data be accessed inside function
 scope already - `compact( array_keys( get_defined_vars() ) )` without
 being passed down the river

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


More information about the wp-trac mailing list