Skip to content

Commit bb69871

Browse files
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
1 parent 4e72f78 commit bb69871

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/class-wp-theme-json.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class WP_Theme_JSON {
114114
* @since 5.9.0 Added the `color.duotone` and `typography.fontFamilies` presets,
115115
* `use_default_names` preset key, and simplified the metadata structure.
116116
* @since 6.0.0 Replaced `override` with `prevent_override` and updated the
117-
* `prevent_overried` value for `color.duotone` to use `color.defaultDuotone`.
117+
* `prevent_override` value for `color.duotone` to use `color.defaultDuotone`.
118118
* @var array
119119
*/
120120
const PRESETS_METADATA = array(
@@ -412,7 +412,7 @@ class WP_Theme_JSON {
412412
* The valid elements that can be found under styles.
413413
*
414414
* @since 5.8.0
415-
* @since 6.1.0 Added `heading`, `button`. and `caption` elements.
415+
* @since 6.1.0 Added `heading`, `button`, and `caption` elements.
416416
* @var string[]
417417
*/
418418
const ELEMENTS = array(

0 commit comments

Comments
 (0)