On Thu, Aug 18, 2011 at 9:40 AM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net">chip@chipbennett.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Good morning, all,<div><br></div><div>Just a heads-up, in case you're not aware: <a href="http://core.trac.wordpress.org/ticket/18298" target="_blank">the TEMPLATEPATH and STYLESHEETPATH constants are slated for deprecation</a>.</div>
<div><br></div><div>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().</div>
<div><br></div><div>(See the in-ticket comments for why this is the best practice, anyway.)</div></blockquote><div><br></div><div>Should be noted that we haven't decided to deprecate these constants, and it likely won't happen until 3.3.</div>
<div><br></div><div>That said, I would have no problem with the theme check enforcing (as a suggested guideline, not a required one) that one use the functions rather than the constants.</div><div><br></div><div>Cheers,</div>
<div>Nacin</div></div>