Make WordPress Core

Changeset 52692


Ignore:
Timestamp:
02/08/2022 04:09:17 PM (12 months ago)
Author:
audrasjb
Message:

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

Props kebbet.
See #54729.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme-json.php

    r52610 r52692  
    15761576
    15771577    /**
    1578      * Returns whether a presets should be overriden or not.
     1578     * Returns whether a presets should be overridden or not.
    15791579     *
    15801580     * @since 5.9.0
     
    15941594         * and whether the defaults are enabled is inverse:
    15951595         *
    1596          * - If defaults are enabled  => theme presets should not be overriden
    1597          * - If defaults are disabled => theme presets should be overriden
     1596         * - If defaults are enabled  => theme presets should not be overridden
     1597         * - If defaults are disabled => theme presets should be overridden
    15981598         *
    15991599         * For example, a theme sets defaultPalette to false,
     
    16891689     *
    16901690     * @param array $node  The node with the presets to validate.
    1691      * @param array $slugs The slugs that should not be overriden.
     1691     * @param array $slugs The slugs that should not be overridden.
    16921692     * @return array The new node.
    16931693     */
Note: See TracChangeset for help on using the changeset viewer.