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

WordPress Trac noreply at wordpress.org
Wed Jul 1 22:20:57 UTC 2020


#21676: Pass a variable to get_template_part()
-------------------------------------+------------------------------
 Reporter:  sc0ttkclark              |       Owner:  SergeyBiryukov
     Type:  enhancement              |      Status:  reviewing
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Template                 |     Version:  3.4.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------

Comment (by enrico.sorcinelli):

 @apedog: `extract` has been left only for backward compatibilty, so its
 presence should not justify further use.

 I agree with name's consistency choice (`$args`) made by @SergeyBiryukov.
 So, I hope it will be given an opportunity for beta :-)

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


More information about the wp-trac mailing list