[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 23 19:03:40 UTC 2023


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

Comment (by boogah):

 Given that the new code is having to dynamically rebuild the full file
 path from the stored relative paths — in order to avoid the reported bug —
 a performance regression makes sense to me.

 I'm willing to be wrong here, but I feel like a comparison of the
 benchmarks for WP 6.2.2 and WP 6.3.x (with this PR) is perhaps a fairer
 indication of if anything is actually regressing.

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


More information about the wp-trac mailing list