mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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:
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user