[wp-trac] [WordPress Trac] #59633: Ensure theme files caching mechanisms are filterable and caches can be manually cleared

WordPress Trac noreply at wordpress.org
Mon Oct 16 15:14:19 UTC 2023


#59633: Ensure theme files caching mechanisms are filterable and caches can be
manually cleared
--------------------------+--------------------------
 Reporter:  afercia       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.4
Component:  Themes        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  performance
--------------------------+--------------------------

Comment (by flixos90):

 @afercia As mentioned in our previous discussion on #59591:

 > Users, site owners, site managers, and even agencies or hosting
 companies are not required to know what this constant is.

 People that don't touch code are not required to know what this constant
 is. People that ''do'' touch code however should know about it, just as
 they need to know about other constants for `wp-config.php`.

 The average end user does not touch the theme, so there's no problem. In
 fact, it's common WordPress knowledge that touching the theme is
 discouraged since updates will override any of the changes - unless it's
 your own custom theme, but in that case you're not the average end user
 and can be expected to follow WordPress development principles and best
 practices.

 I would like to understand what your issue is with setting a constant for
 this.

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


More information about the wp-trac mailing list