<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Most people should be using get_template_directory() and get_template_directory_uri() for parent themes and get_stylesheet_directory) and get_stylesheet_directory_uri() by now anyway. Most devs see these being utilized in the twenty-eleven theme and it has been pushed for some time...plus, deprecated doesn't mean it won't work, so there shouldn't be too much of an impact...<div><br></div><div>Shawn<br><br><div>> From: wordpress@dd32.id.au<br>> Date: Fri, 19 Aug 2011 13:39:53 +1000<br>> To: theme-reviewers@lists.wordpress.org<br>> Subject: Re: [theme-reviewers] TEMPLATEPATH/STYLESHEETPATH are being        deprecated<br>> <br>> The constants being deprecated will not affect most people negitivly.<br>> Deprecated (in WordPress terms at least) means it's not the recomended<br>> method, and should be avoided at all costs when developing something<br>> new (a theme in this case), there'll always be a dropin replacement<br>> available too.<br>> <br>> If a theme uses a deprecated method, they may ultimately lack<br>> flexibility (For example, themes which use the constants are unusable<br>> on WordPress.com until they're updated to use the functions, Some<br>> specialised plugins which switch themes also do hacky workarounds, or<br>> can't perform as they'd like to at all on a theme which uses the<br>> constants, etc.).<br>> <br>> So client themes shouldn't need to be updated, Unless they need to be<br>> in order to take advatage of a new plugin/core functionality. But for<br>> the good of the world, Repository themes would need to update (when<br>> they release a new version) to use the functions instead of constants<br>> when those guidelines took effect.<br>> <br>> On 19 August 2011 12:54, Merci Javier <mercijavier@gmail.com> wrote:<br>> ><br>> > Oh man, that'll hurt. Many would have to update themes in client sites.<br>> ><br>> > Thank you for the heads-up, Chip.<br>> ><br>> ><br>> > On Thu, Aug 18, 2011 at 6:40 AM, Chip Bennett <chip@chipbennett.net> wrote:<br>> >><br>> >> Good morning, all,<br>> >> Just a heads-up, in case you're not aware: the TEMPLATEPATH and<br>> >> STYLESHEETPATH constants are slated for deprecation.<br>> >> The Guidelines haven't changed yet, but expect that they will in the<br>> >> future (most likely with the WordPress 3.3 release). I would strongly<br>> >> recommend going ahead and replacing these constants now, with their<br>> >> equivalent functions, get_template_directory() and<br>> >> get_stylesheet_directory().<br>> >> (See the in-ticket comments for why this is the best practice, anyway.)<br>> >> Chip<br>> >> _______________________________________________<br>> >> theme-reviewers mailing list<br>> >> theme-reviewers@lists.wordpress.org<br>> >> http://lists.wordpress.org/mailman/listinfo/theme-reviewers<br>> >><br>> ><br>> ><br>> > _______________________________________________<br>> > theme-reviewers mailing list<br>> > theme-reviewers@lists.wordpress.org<br>> > http://lists.wordpress.org/mailman/listinfo/theme-reviewers<br>> ><br>> ><br>> _______________________________________________<br>> theme-reviewers mailing list<br>> theme-reviewers@lists.wordpress.org<br>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers<br></div></div>                                            </div></body>
</html>