WordPress.org

Make WordPress Core

Changeset 52306


Ignore:
Timestamp:
12/02/2021 08:25:35 PM (7 weeks ago)
Author:
audrasjb
Message:

Docs: Add missing @since tag to WP_Theme_JSON_Schema functions.

Follow-up to [52049].

See #53399, #54336.

File:
1 edited

Legend:

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

    r52049 r52306  
    1515 * use get_global_settings, get_global_styles, and get_global_stylesheet instead.
    1616 *
     17 * @since 5.9.0
    1718 * @access private
    1819 */
     
    3233    /**
    3334     * Function that migrates a given theme.json structure to the last version.
     35     *
     36     * @since 5.9.0
    3437     *
    3538     * @param array $theme_json The structure to migrate.
     
    6063     * 'typography.customLineHeight' => 'typography.lineHeight',
    6164     *
     65     * @since 5.9.0
     66     *
    6267     * @param array $old Data to migrate.
    6368     *
     
    8186    /**
    8287     * Processes the settings subtree.
     88     *
     89     * @since 5.9.0
    8390     *
    8491     * @param array $settings        Array to process.
     
    106113     * Processes a settings array, renaming or moving properties.
    107114     *
     115     * @since 5.9.0
     116     *
    108117     * @param array $settings        Reference to settings either defaults or an individual block's.
    109118     * @param arary $paths_to_rename Paths to rename.
     
    125134     * Removes a property from within the provided settings by its path.
    126135     *
     136     * @since 5.9.0
     137     *
    127138     * @param array $settings Reference to the current settings array.
    128139     * @param array $path Path to the property to be removed.
Note: See TracChangeset for help on using the changeset viewer.