[wp-trac] [WordPress Trac] #56901: WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles is incorrectly cached.

WordPress Trac noreply at wordpress.org
Wed Oct 26 08:11:12 UTC 2022


#56901: WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles is incorrectly
cached.
--------------------------------------+------------------------------
 Reporter:  peterwilsoncc             |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Themes                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by spacedmonkey):

 It is also worth noting that `wp_get_global_stylesheet` and
 `wp_get_global_styles_svg_filters` also appear to cache global style data
 in a transient. These too, do not seems to have correct cache
 invalidation.

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


More information about the wp-trac mailing list