[wp-trac] [WordPress Trac] #53502: Twenty Twenty-One: Remove use of `filemtime()`

WordPress Trac noreply at wordpress.org
Fri Jun 25 13:36:18 UTC 2021


#53502: Twenty Twenty-One: Remove use of `filemtime()`
---------------------------------------------+----------------------
 Reporter:  desrosj                          |       Owner:  desrosj
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  5.8
Component:  Bundled Theme                    |     Version:  5.6
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:
---------------------------------------------+----------------------
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51236" 51236]:
 {{{
 #!CommitTicketReference repository="" revision="51236"
 Twenty Twenty-One: Use the theme version when enqueueing theme assets.

 This avoids having to interact with the filesystem and ensures browser and
 proxy caches are only cleared when the file is actually updated.

 Props peterwilsoncc, ryelle, aristath, SergeyBiryukov.
 Fixes #53502.
 }}}

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


More information about the wp-trac mailing list