[wp-trac] [WordPress Trac] #15086: get_template_part() should let you specify a directory

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 27 09:07:03 UTC 2011


#15086: get_template_part() should let you specify a directory
-------------------------------------------------+-------------------------
 Reporter:  aaroncampbell                        |       Owner:  westi
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  Future
Component:  Themes                               |  Release
 Severity:  normal                               |     Version:  3.0
 Keywords:  has-patch 3.3-early westi-likes      |  Resolution:
  needs-unit-tests                               |
-------------------------------------------------+-------------------------
Changes (by westi):

 * keywords:  dev-feedback has-patch => has-patch 3.3-early westi-likes
     needs-unit-tests
 * owner:   => westi
 * status:  new => accepted


Comment:

 Replying to [comment:32 aaroncampbell]:
 > I'd like to try to get this into 3.3.  Anyone against that?

 Seems reasonable.

 Could you open a [http://unit-tests.trac.wordpress.org/ Unit Test trac
 ticket] and attach some tests for the new code - some for the
 functionality of get_template_part (we can add another dummy theme to the
 unit tests for this) and for the functionality of
 {{{remove_dot_segments}}}

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


More information about the wp-trac mailing list