Docs: Updates and corrections to various inline docs added in 6.1.

See #55646


git-svn-id: https://develop.svn.wordpress.org/trunk@54284 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2022-09-21 20:22:53 +00:00
parent eea4277c9e
commit 1af2c8bd7a
7 changed files with 18 additions and 23 deletions

View File

@@ -434,13 +434,7 @@ class WP_Theme_JSON_Resolver {
}
}
/**
* Filters the data provided by the user for global styles & settings.
*
* @since 6.1.0
*
* @param WP_Theme_JSON_Data Class to access and update the underlying data.
*/
/** This filter is documented in wp-includes/class-wp-theme-json-resolver.php */
$theme_json = apply_filters( 'theme_json_user', new WP_Theme_JSON_Data( $config, 'custom' ) );
$config = $theme_json->get_data();
static::$user = new WP_Theme_JSON( $config, 'custom' );