Make WordPress Core


Ignore:
Timestamp:
11/08/2021 07:18:39 PM (3 years ago)
Author:
jorgefilipecosta
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r52036 r52049  
    23222322
    23232323    if ( null === $stylesheet ) {
    2324         $settings   = get_default_block_editor_settings();
    2325         $theme_json = WP_Theme_JSON_Resolver::get_merged_data( $settings );
     2324        $theme_json = WP_Theme_JSON_Resolver::get_merged_data();
    23262325        $stylesheet = $theme_json->get_stylesheet();
    23272326
Note: See TracChangeset for help on using the changeset viewer.