Files
WordPress/wp-admin
desrosj 726dfff138 Themes: Reduce usage of wp_get_theme function.
Calling the `wp_get_theme` function creates a instance of the `WP_Theme` class. This can be a performance issue, if all you need is one property of the class instance. This change replaces the usage of `wp_get_theme()->get_stylesheet()` with `get_stylesheet()` to improve performance.

Props spacedmonkey, flixos90, peterwilsoncc, desrosj.
Merges [54817] to the 6.1 branch.
Fixes #57057.
Built from https://develop.svn.wordpress.org/branches/6.1@54818


git-svn-id: http://core.svn.wordpress.org/branches/6.1@54370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-11-11 16:31:14 +00:00
..
2022-09-20 08:19:10 +00:00
2021-09-09 21:40:57 +00:00