mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
Docs: Typo correction in class-wp-theme-json
docblocks.
Props kebbet. See #54729. Built from https://develop.svn.wordpress.org/trunk@52692 git-svn-id: http://core.svn.wordpress.org/trunk@52281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7d9b54b131
commit
2b8f6781bb
@ -1575,7 +1575,7 @@ class WP_Theme_JSON {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether a presets should be overriden or not.
|
||||
* Returns whether a presets should be overridden or not.
|
||||
*
|
||||
* @since 5.9.0
|
||||
*
|
||||
@ -1593,8 +1593,8 @@ class WP_Theme_JSON {
|
||||
* The relationship between whether to override the defaults
|
||||
* and whether the defaults are enabled is inverse:
|
||||
*
|
||||
* - If defaults are enabled => theme presets should not be overriden
|
||||
* - If defaults are disabled => theme presets should be overriden
|
||||
* - If defaults are enabled => theme presets should not be overridden
|
||||
* - If defaults are disabled => theme presets should be overridden
|
||||
*
|
||||
* For example, a theme sets defaultPalette to false,
|
||||
* making the default palette hidden from the user.
|
||||
@ -1688,7 +1688,7 @@ class WP_Theme_JSON {
|
||||
* @since 5.9.0
|
||||
*
|
||||
* @param array $node The node with the presets to validate.
|
||||
* @param array $slugs The slugs that should not be overriden.
|
||||
* @param array $slugs The slugs that should not be overridden.
|
||||
* @return array The new node.
|
||||
*/
|
||||
private static function filter_slugs( $node, $slugs ) {
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.0-alpha-52691';
|
||||
$wp_version = '6.0-alpha-52692';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user