Changeset 54408 for trunk/src/wp-includes/class-wp-theme-json-resolver.php
- Timestamp:
- 10/07/2022 09:38:15 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r54399 r54408 296 296 * @param WP_Theme_JSON_Data Class to access and update the underlying data. 297 297 */ 298 $theme_json = apply_filters( 'theme_json_blocks', new WP_Theme_JSON_Data( $config, ' core' ) );298 $theme_json = apply_filters( 'theme_json_blocks', new WP_Theme_JSON_Data( $config, 'blocks' ) ); 299 299 $config = $theme_json->get_data(); 300 300 301 // Core here means it's the lower level part of the styles chain. 302 // It can be a core or a third-party block. 303 return new WP_Theme_JSON( $config, 'core' ); 301 return new WP_Theme_JSON( $config, 'blocks' ); 304 302 } 305 303
Note: See TracChangeset
for help on using the changeset viewer.