From 2796abaf53c5a3b534c61ad0979fd25011174746 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 8 Feb 2022 16:09:17 +0000 Subject: [PATCH] Docs: Typo correction in `class-wp-theme-json` docblocks. Props kebbet. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@52692 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-theme-json.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/class-wp-theme-json.php b/src/wp-includes/class-wp-theme-json.php index f379531598..6f7d4ee356 100644 --- a/src/wp-includes/class-wp-theme-json.php +++ b/src/wp-includes/class-wp-theme-json.php @@ -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 ) {