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

WordPress Trac noreply at wordpress.org
Thu Aug 3 19:23:02 UTC 2023


#18298: deprecate TEMPLATEPATH and STYLESHEETPATH
---------------------------+------------------------------------
 Reporter:  aaroncampbell  |       Owner:  thekt12
     Type:  enhancement    |      Status:  assigned
 Priority:  normal         |   Milestone:  6.4
Component:  Themes         |     Version:  3.0
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  template, performance
---------------------------+------------------------------------
Changes (by flixos90):

 * keywords:  needs-patch => has-patch
 * owner:  wonderboymusic => thekt12
 * status:  reopened => assigned


Comment:

 Given that @thekt12 has been working on a fresh PR for this in
 https://github.com/WordPress/wordpress-develop/pull/4880, I'll assign him
 for now.

 It's great to see the additional discussion history here, and it seems the
 main question here is whether there are any notable adverse performance
 effects from this change (since surely accessing constants is faster than
 calling these functions).

 Therefore, in order to make a decision, we need to carefully benchmark and
 assess the performance implications and whether they are negligible or not

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/18298#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list