[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
Tue Sep 5 15:13: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 | Focuses: performance
--------------------------+--------------------------
Comment (by desmith):
* The filter in comment 36 doesn't seem to address the problem - the
transient is continually recreated, with the wrong values. (I did it as an
mu-plugin, rather than adding it to the theme, but I wouldn't expect it to
make a difference. To fix it for Pagely's customers it would have be part
of an mu-plugin, since we're not generally interested in modifying
customers' themes.)
* Patch 5052 doesn't seem to address the above. I did a manual `DELETE
FROM wp_options WHERE option_name LIKE
'%_transient_wp_core_block_css_files%'` to the DB, reloaded the page, and
the transient was recreated with the physical path again (i.e.
`/wordpress-versions/6.3.1/wp-includes/whatever`).
I can go into more detail on what life is like inside our containers if
you think it'd be helpful, but the `__DIR__` versus `WPINC` thing feels
like a good path (pun totally intended) to go down.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59111#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list