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

WordPress Trac noreply at wordpress.org
Thu Oct 25 13:48:51 UTC 2018


#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 close needs-testing  |     Focuses:
-------------------------------------------+------------------------------

Comment (by mihai2u):

 I second @enrico.sorcinelli - it's indeed a really good pattern and allows
 for more robust templating system. Much more robust than what we have now.

 @SergeyBiryukov - anything we can do to help this move forward? This is as
 a solid improvement for front-end devs just like G is for the editors :)

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


More information about the wp-trac mailing list