[wp-trac] [WordPress Trac] #59111: A stale register_core_block_style_handles cache can cause styles not to load

WordPress Trac noreply at wordpress.org
Wed Aug 30 18:35:29 UTC 2023


#59111: A stale register_core_block_style_handles cache can cause styles not to
load
-------------------------------------+--------------------------
 Reporter:  joemcgill                |       Owner:  joemcgill
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  6.3.2
Component:  Themes                   |     Version:  6.3
 Severity:  major                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  performance
-------------------------------------+--------------------------

Comment (by joemcgill):

 Thanks for reviewing, @flixos90. I generally agree with you. I was leaning
 towards [https://github.com/WordPress/wordpress-develop/pull/5112 PR5112]
 because even though it's a workaround, it avoids doing string manipulation
 twice on a large array of file paths, but I don't feel strongly about it.
 It would be nice to get some benchmarks on the two approaches but I
 suspect the difference is negligible.

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


More information about the wp-trac mailing list