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

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 5 16:38:57 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  |
-----------------------------+------------------

Comment (by aaroncampbell):

 Replying to [comment:4 solarissmoke]:
 > Looking a bit closer, `TEMPLATEPATH` itself is defined using
 `get_template_directory()`, so doing it again in the theme seems
 redundant?

 Someone could filter based on some condition, so they could filter
 DIFFERENTLY in different places.

 See #18298

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


More information about the wp-trac mailing list