[wp-trac] [WordPress Trac] #57057: Reduce usage of `wp_get_theme`
WordPress Trac
noreply at wordpress.org
Thu Nov 10 22:42:16 UTC 2022
#57057: Reduce usage of `wp_get_theme`
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.1.2
Component: Themes | Version: 6.1
Severity: normal | Resolution:
Keywords: has-patch has-screenshots needs- | Focuses:
unit-tests | performance
-------------------------------------------------+-------------------------
Comment (by flixos90):
Replying to [comment:5 spacedmonkey]:
> @flixos90 Changing the `get_user_data_from_wp_global_styles` is the
biggest change in this patch. If we remove that, I think can commit in
6.1.x.
>
> This is a trival change as it a function replacement and drop-in
solution.
SGTM.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57057#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list