From bb698718c837e842cf86b583cdad7da687d92b6d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 17 Nov 2022 16:56:04 +0000 Subject: [PATCH] Docs: Fix typo in the `WP_Theme_JSON::PRESETS_METADATA` constant description. Follow-up to [53129]. Props kebbet, mukesh27. See #56792. git-svn-id: https://develop.svn.wordpress.org/trunk@54853 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-theme-json.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-theme-json.php b/src/wp-includes/class-wp-theme-json.php index 8f93f5cda9..77711a283c 100644 --- a/src/wp-includes/class-wp-theme-json.php +++ b/src/wp-includes/class-wp-theme-json.php @@ -114,7 +114,7 @@ class WP_Theme_JSON { * @since 5.9.0 Added the `color.duotone` and `typography.fontFamilies` presets, * `use_default_names` preset key, and simplified the metadata structure. * @since 6.0.0 Replaced `override` with `prevent_override` and updated the - * `prevent_overried` value for `color.duotone` to use `color.defaultDuotone`. + * `prevent_override` value for `color.duotone` to use `color.defaultDuotone`. * @var array */ const PRESETS_METADATA = array( @@ -412,7 +412,7 @@ class WP_Theme_JSON { * The valid elements that can be found under styles. * * @since 5.8.0 - * @since 6.1.0 Added `heading`, `button`. and `caption` elements. + * @since 6.1.0 Added `heading`, `button`, and `caption` elements. * @var string[] */ const ELEMENTS = array(