mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
Update theme.json classes for WordPress 5.9.
This commit ports to core the changes to the classes that deal with theme.json code. See #54336. Props oandregal, spacedmonkey, noisysocks, hellofromtonya, youknowriad. git-svn-id: https://develop.svn.wordpress.org/trunk@52049 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2321,8 +2321,7 @@ function wp_enqueue_global_styles() {
|
||||
}
|
||||
|
||||
if ( null === $stylesheet ) {
|
||||
$settings = get_default_block_editor_settings();
|
||||
$theme_json = WP_Theme_JSON_Resolver::get_merged_data( $settings );
|
||||
$theme_json = WP_Theme_JSON_Resolver::get_merged_data();
|
||||
$stylesheet = $theme_json->get_stylesheet();
|
||||
|
||||
if ( $can_use_cache ) {
|
||||
|
||||
Reference in New Issue
Block a user