[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:28:17 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 flixos90):

 @joemcgill @petitphp I just reviewed the two PRs, I think
 https://github.com/WordPress/wordpress-develop/pull/5052 is a cleaner
 solution as it solves the problem at its root: The bug here is caused by
 the cache storing full paths. What it should store is only the paths
 starting below the WordPress root directory, e.g. starting at `wp-
 includes`.

 https://github.com/WordPress/wordpress-develop/pull/5052 actually solves
 that while https://github.com/WordPress/wordpress-develop/pull/5112 is a
 workaround.

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


More information about the wp-trac mailing list