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

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 18 19:21:54 UTC 2011


#18298: deprecate TEMPLATEPATH and STYLESHEETPATH
---------------------------+------------------------------
 Reporter:  aaroncampbell  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Themes         |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------------------

Comment (by toscho):

 Replying to [comment:12 aaroncampbell]:
 > I think that what he's saying is that you'd have to build some sort of
 regex to look for the constant being used

 Impossible. PHP is more complex than PCRE, so you’d have to use a
 tokenizer. Just think about constants in comments … ;)

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


More information about the wp-trac mailing list