[wp-trac] [WordPress Trac] #18071: Twenty Eleven: TEMPLATEPATH to get_template_directory()

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 17 05:01:17 UTC 2011


#18071: Twenty Eleven: TEMPLATEPATH to get_template_directory()
-----------------------------+------------------
 Reporter:  nacin            |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  3.3
Component:  Bundled Theme    |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  close has-patch  |
-----------------------------+------------------
Changes (by solarissmoke):

 * keywords:  has-patch => close has-patch


Comment:

 Looking a bit closer, `TEMPLATEPATH` itself is defined using
 `get_template_directory()`, so doing it again in the theme seems
 redundant?

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


More information about the wp-trac mailing list