[wp-trac] [WordPress Trac] #61485: Refactor Etag-based cache busting for styles and scripts solution and add tests

WordPress Trac noreply at wordpress.org
Mon Nov 4 15:49:43 UTC 2024


#61485: Refactor Etag-based cache busting for styles and scripts solution and add
tests
--------------------------------------+----------------------------
 Reporter:  vrajadas                  |       Owner:  peterwilsoncc
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.7
Component:  Script Loader             |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"59341" 59341]:
 {{{
 #!CommitTicketReference repository="" revision="59341"
 Script Loader: Correct the number of arguments passed to
 `WP_Styles::get_etag()`.

 This fixes an issue with the usage of the new `$wp_styles->get_etag()`
 method in `wp-admin/load-styles.php`, where `$wp_version` is passed as the
 first argument instead of `$load` being used as the ''only'' argument.

 Follow-up to [58935].

 Props justlevine, mukesh27, swissspidy.
 See #52217, #61485.
 }}}

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


More information about the wp-trac mailing list