[wp-trac] [WordPress Trac] #12371: Change get_generic_template's name

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 25 21:04:44 UTC 2010


#12371: Change get_generic_template's name
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  westi                         
     Type:  defect (bug)  |      Status:  accepted                      
 Priority:  normal        |   Milestone:  3.0                           
Component:  Template      |     Version:  3.0                           
 Severity:  normal        |    Keywords:  get_generic_template has-patch
--------------------------+-------------------------------------------------

Comment(by westi):

 After a long walk and a think I am going to propose and introduce:

 get_template_part:

 {{{Load a template part.

 Makes it easy for a theme to reuse sections of code in a easy to overload
 way for child themes.}}}

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


More information about the wp-trac mailing list