[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 23:35:01 UTC 2024


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

Comment (by peterwilsoncc):

 In [changeset:"59343" 59343]:
 {{{
 #!CommitTicketReference repository="" revision="59343"
 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].

 Reviewed by swissspidy.
 Merges [59341] to the 6.7 branch.

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

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


More information about the wp-trac mailing list