[wp-trac] [WordPress Trac] #13691: Make get_template_part() accept multiple template names

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 2 04:37:38 UTC 2010


#13691: Make get_template_part() accept multiple template names
-------------------------+--------------------------------------------------
 Reporter:  wjm          |       Owner:            
     Type:  enhancement  |      Status:  new       
 Priority:  normal       |   Milestone:  Unassigned
Component:  General      |     Version:            
 Severity:  normal       |    Keywords:            
-------------------------+--------------------------------------------------

Comment(by nacin):

 Seems sane, though too late for 3.0. It would be cleaner to simply case
 names as an array and use it in a single foreach.

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


More information about the wp-trac mailing list