[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
Thu Oct 27 16:38:11 UTC 2022
#56901: WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles is incorrectly
cached.
-------------------------------------------------+-------------------------
Reporter: peterwilsoncc | Owner:
| davidbaumwald
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Themes | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests has- | Focuses:
testing-info commit dev-reviewed |
-------------------------------------------------+-------------------------
Changes (by davidbaumwald):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"54707" 54707]:
{{{
#!CommitTicketReference repository="" revision="54707"
Themes: Ensure custom global styles are imported properly.
This change removes caching of global styles for logged in users, allowing
"wp_global_styles" custom post type to be imported completely, regardless
of any previously cached data. This change now relies on the lower-level
native WP_Query cache invalidation methods for the global styles post
type.
Follow-up to [52275], [54186].
Props anariel-design, bernhard-reiter, andrewserong, spacedmonkey,
andraganescu, peterwilsoncc, oandregal, hellofromTonya.
Reviewed by hellofromTonya.
Merges [54706] to the 6.1 branch.
Fixes #56901.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56901#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list