Make WordPress Core

Changeset 52758


Ignore:
Timestamp:
02/17/2022 05:20:27 PM (2 years ago)
Author:
audrasjb
Message:

Docs: Typo corrections in class-wp-theme-json docblocks.

Props kebbet, hellofromtonya.
Merges [52692] to the 5.9 branch.
See #54729.

Location:
branches/5.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.9

  • branches/5.9/src/wp-includes/class-wp-theme-json.php

    r52746 r52758  
    15881588
    15891589    /**
    1590      * Returns whether a presets should be overriden or not.
     1590     * Returns whether a presets should be overridden or not.
    15911591     *
    15921592     * @since 5.9.0
     
    16061606         * and whether the defaults are enabled is inverse:
    16071607         *
    1608          * - If defaults are enabled  => theme presets should not be overriden
    1609          * - If defaults are disabled => theme presets should be overriden
     1608         * - If defaults are enabled  => theme presets should not be overridden
     1609         * - If defaults are disabled => theme presets should be overridden
    16101610         *
    16111611         * For example, a theme sets defaultPalette to false,
     
    17011701     *
    17021702     * @param array $node  The node with the presets to validate.
    1703      * @param array $slugs The slugs that should not be overriden.
     1703     * @param array $slugs The slugs that should not be overridden.
    17041704     * @return array The new node.
    17051705     */
Note: See TracChangeset for help on using the changeset viewer.