[wp-trac] [WordPress Trac] #57502: Add object cache to wp_get_global_settings()
WordPress Trac
noreply at wordpress.org
Thu Jan 26 15:27:24 UTC 2023
#57502: Add object cache to wp_get_global_settings()
-------------------------------------------------+-------------------------
Reporter: oandregal | Owner:
| hellofromTonya
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.2
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests gutenberg- | Focuses:
merge | performance
-------------------------------------------------+-------------------------
Comment (by oandregal):
> Hey @oandregal is this Trac ticket the same as the intent of #56910?
I didn't know that existed, though it is focused on stylesheet and SVG
filters? Either using this one or consolidating works for me.
> Also there are differences between PR 3712 and PR 3789 both of which
are adding caching to the same function.
3712 is for the wp_get_global_stylesheet and 3789 is for the
wp_get_global_settings function, so they touch different functions.
However, they both need to add back the theme_json group to the non-
persistent groups. Whatever lands first, we can remove the changes from
the other PR. Does that help?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57502#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list