Changeset 54501 for trunk/src/wp-includes/class-wp-theme-json-resolver.php
- Timestamp:
- 10/11/2022 08:06:16 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r54493 r54501 181 181 * @param WP_Theme_JSON_Data Class to access and update the underlying data. 182 182 */ 183 $theme_json = apply_filters( ' theme_json_default', new WP_Theme_JSON_Data( $config, 'default' ) );183 $theme_json = apply_filters( 'wp_theme_json_data_default', new WP_Theme_JSON_Data( $config, 'default' ) ); 184 184 $config = $theme_json->get_data(); 185 185 static::$core = new WP_Theme_JSON( $config, 'default' ); … … 257 257 * @param WP_Theme_JSON_Data Class to access and update the underlying data. 258 258 */ 259 $theme_json = apply_filters( ' theme_json_theme', new WP_Theme_JSON_Data( $theme_json_data, 'theme' ) );259 $theme_json = apply_filters( 'wp_theme_json_data_theme', new WP_Theme_JSON_Data( $theme_json_data, 'theme' ) ); 260 260 $theme_json_data = $theme_json->get_data(); 261 261 static::$theme = new WP_Theme_JSON( $theme_json_data ); … … 358 358 * @param WP_Theme_JSON_Data Class to access and update the underlying data. 359 359 */ 360 $theme_json = apply_filters( ' theme_json_blocks', new WP_Theme_JSON_Data( $config, 'blocks' ) );360 $theme_json = apply_filters( 'wp_theme_json_data_blocks', new WP_Theme_JSON_Data( $config, 'blocks' ) ); 361 361 $config = $theme_json->get_data(); 362 362 … … 491 491 * @param WP_Theme_JSON_Data Class to access and update the underlying data. 492 492 */ 493 $theme_json = apply_filters( ' theme_json_user', new WP_Theme_JSON_Data( $config, 'custom' ) );493 $theme_json = apply_filters( 'wp_theme_json_data_user', new WP_Theme_JSON_Data( $config, 'custom' ) ); 494 494 $config = $theme_json->get_data(); 495 495 return new WP_Theme_JSON( $config, 'custom' ); … … 509 509 510 510 /** This filter is documented in wp-includes/class-wp-theme-json-resolver.php */ 511 $theme_json = apply_filters( ' theme_json_user', new WP_Theme_JSON_Data( $config, 'custom' ) );511 $theme_json = apply_filters( 'wp_theme_json_data_user', new WP_Theme_JSON_Data( $config, 'custom' ) ); 512 512 $config = $theme_json->get_data(); 513 513 static::$user = new WP_Theme_JSON( $config, 'custom' );
Note: See TracChangeset
for help on using the changeset viewer.