WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/15/2021 08:50:26 AM (3 months ago)
Author:
youknowriad
Message:

Block Editor: Update the WordPress packages with the fixes for 5.8 beta 2.

This includes:

Various

Template Editor

Widgets Editor

Global Styles (theme.json)

Performance

Props nosolosw, jorgefilipecosta, aristath, ntsekouras, peterwilsoncc, mcsf.
See #53397.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme-json-resolver.php

    r51089 r51149  
    249249        $config     = self::read_json_file( __DIR__ . '/theme.json' );
    250250        $config     = self::translate( $config );
    251         self::$core = new WP_Theme_JSON( $config );
     251        self::$core = new WP_Theme_JSON( $config, 'core' );
    252252
    253253        return self::$core;
     
    302302     * @since 5.8.0
    303303     *
    304      * @param array  $settings Existing block editor settings.
     304     * @param array $settings Existing block editor settings.
    305305     *                         Empty array by default.
    306306     * @return WP_Theme_JSON
Note: See TracChangeset for help on using the changeset viewer.