[wp-trac] [WordPress Trac] #18298: deprecate TEMPLATEPATH and STYLESHEETPATH

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 22 22:03:03 UTC 2012


#18298: deprecate TEMPLATEPATH and STYLESHEETPATH
---------------------------+-----------------------------
 Reporter:  aaroncampbell  |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Themes         |     Version:  3.0
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+-----------------------------
Changes (by omarabid):

 * cc: omarabid (added)


Comment:

 Any updates on this. This ticket has over a year, and yet the Constants
 are still used instead of the function.

 The file is question is: ''wp-includes/template.php''

 The Constants are used in the ''locate_template()'' function. This makes
 it impossible to change the location of my template files. For a special
 App. I'm building, I need to change these locations.

 This is possible, but only if the functions were used instead of the
 Constant.

 Is there a reason to keep the Constants instead? I have changed my
 WordPress Core code (which is bad), shall I submit my modification.

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


More information about the wp-trac mailing list