mirror of
git://develop.git.wordpress.org/
synced 2025-04-08 22:22:03 +02:00
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
This commit is contained in:
parent
c092869ad6
commit
2796abaf53
@ -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 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user