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:
audrasjb 2022-02-08 16:11:03 +00:00
parent 7d9b54b131
commit 2b8f6781bb
2 changed files with 5 additions and 5 deletions

View File

@ -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 * @since 5.9.0
* *
@ -1593,8 +1593,8 @@ class WP_Theme_JSON {
* The relationship between whether to override the defaults * The relationship between whether to override the defaults
* and whether the defaults are enabled is inverse: * and whether the defaults are enabled is inverse:
* *
* - If defaults are enabled => theme presets should not be overriden * - If defaults are enabled => theme presets should not be overridden
* - If defaults are disabled => theme presets should be overriden * - If defaults are disabled => theme presets should be overridden
* *
* For example, a theme sets defaultPalette to false, * For example, a theme sets defaultPalette to false,
* making the default palette hidden from the user. * making the default palette hidden from the user.
@ -1688,7 +1688,7 @@ class WP_Theme_JSON {
* @since 5.9.0 * @since 5.9.0
* *
* @param array $node The node with the presets to validate. * @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. * @return array The new node.
*/ */
private static function filter_slugs( $node, $slugs ) { private static function filter_slugs( $node, $slugs ) {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.