mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
General: fix overridden typos.
Fixes two typos in `class-wp-theme-json`. Props Aristath, nihar007, kapilpaul, oandregal, krupalpanchal. Fixes #58464. git-svn-id: https://develop.svn.wordpress.org/trunk@55945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -80,8 +80,8 @@ class WP_Theme_JSON {
|
||||
* - prevent_override => Disables override of default presets by theme presets.
|
||||
* 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.
|
||||
* In that case, we want all the theme presets to be present,
|
||||
|
||||
Reference in New Issue
Block a user