[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 Jun 24 08:12:33 UTC 2024


#61485: Refactor Etag-based cache busting for styles and scripts solution and add
tests
---------------------------+-----------------------------
 Reporter:  vrajadas       |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Script Loader  |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Following issue #58433, I wanted to add tests to the solution and then
 realised they is code duplication. I move the logic to method in the class
 both wp_script and wp_style extend.

 I also added tests.
 Test instructions are the same as in #58433, since this issue doesn't
 change functionality.
 Github PR is https://github.com/WordPress/wordpress-develop/pull/6820

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


More information about the wp-trac mailing list