[wp-trac] [WordPress Trac] #18298: deprecate TEMPLATEPATH and STYLESHEETPATH
WordPress Trac
noreply at wordpress.org
Fri May 23 20:11:10 UTC 2014
#18298: deprecate TEMPLATEPATH and STYLESHEETPATH
---------------------------+-----------------------------
Reporter: aaroncampbell | Owner: wonderboymusic
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.0
Component: Themes | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: template
---------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"28563"]:
{{{
#!CommitTicketReference repository="" revision="28563"
Replaces all uses of `TEMPLATEPATH` and `STYLESHEETPATH` in core with
`get_template_directory()` and `get_stylesheet_directory()`.
Add `@deprecated` annotations to `TEMPLATEPATH` and `STYLESHEETPATH`
definitions.
Props obenland, aaroncampbell.
Fixes #18298.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18298#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list