Docs: Add missing summary for `WP_Theme_JSON_Resolver::get_merged_data()`.

Follow-up to [50959].

See #53399.
Built from https://develop.svn.wordpress.org/trunk@52323


git-svn-id: http://core.svn.wordpress.org/trunk@51915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-12-05 18:02:08 +00:00
parent 6e09421269
commit f5d79e0b23
2 changed files with 10 additions and 8 deletions

View File

@ -315,8 +315,8 @@ class WP_Theme_JSON_Resolver {
return new WP_Theme_JSON( $config, 'custom' );
}
// Very important to verify if the flag isGlobalStylesUserThemeJSON is true.
// If is not true the content was not escaped and is not safe.
// Very important to verify that the flag isGlobalStylesUserThemeJSON is true.
// If it's not true then the content was not escaped and is not safe.
if (
is_array( $decoded_data ) &&
isset( $decoded_data['isGlobalStylesUserThemeJSON'] ) &&
@ -332,6 +332,8 @@ class WP_Theme_JSON_Resolver {
}
/**
* Returns the data merged from multiple origins.
*
* There are three sources of data (origins) for a site:
* default, theme, and custom. The custom's has higher priority
* than the theme's, and the theme's higher than default's.

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-beta1-52322';
$wp_version = '5.9-beta1-52323';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.