[theme-reviewers] TEMPLATEPATH/STYLESHEETPATH are being deprecated

Qamar Ashraf life.object at gmail.com
Thu Aug 18 15:25:11 UTC 2011


Thanks Chip,

On Thu, Aug 18, 2011 at 6:40 PM, Chip Bennett <chip at chipbennett.net> wrote:

> Good morning, all,
>
> Just a heads-up, in case you're not aware: the TEMPLATEPATH and
> STYLESHEETPATH constants are slated for deprecation<http://core.trac.wordpress.org/ticket/18298>
> .
>
> The Guidelines haven't changed yet, but expect that they will in the future
> (most likely with the WordPress 3.3 release). I would strongly recommend
> going ahead and replacing these constants now, with their equivalent
> functions, get_template_directory() and get_stylesheet_directory().
>
> (See the in-ticket comments for why this is the best practice, anyway.)
>
> Chip
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>


-- 
Regards
Qamar Ashraf
Project Manager
www.tutorialchip.com
www.freestockphotosclub.com
www.twunfollowapp.com
@lifeobject1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110818/8a2151d4/attachment.htm>


More information about the theme-reviewers mailing list