Make WordPress Core


Ignore:
Timestamp:
09/05/2026 09:32:30 AM (2 months ago)
Author:
wildworks
Message:

Docs: Align @param tag columns in block editor docblocks.

Aligns @param tag columns in docblocks across the block editor per the PHP inline documentation standards.

Developed in: ​https://github.com/WordPress/wordpress-develop/pull/13311

Props mukesh27, wildworks.
See #65818.

File:
1 edited

Legend:

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

    r63320 r63495  
    3838         * @since 6.6.0 Migrate up to v3 and add $origin parameter.
    3939         *
    40          * @param array $theme_json The structure to migrate.
    41          * @param string $origin    Optional. What source of data this object represents.
    42          *                          One of 'blocks', 'default', 'theme', or 'custom'. Default 'theme'.
     40         * @param array  $theme_json The structure to migrate.
     41         * @param string $origin     Optional. What source of data this object represents.
     42         *                           One of 'blocks', 'default', 'theme', or 'custom'. Default 'theme'.
    4343         * @return array The structure in the last version.
    4444         */
    … …  
    101101         * @since 6.6.0
    102102         *
    103          * @param array $old     Data to migrate.
     103         * @param array  $old    Data to migrate.
    104104         * @param string $origin What source of data this object represents.
    105105         *                       One of 'blocks', 'default', 'theme', or 'custom'.
    … …  
    214214         *
    215215         * @param array $settings Reference to the current settings array.
    216          * @param array $path Path to the property to be removed.
     216         * @param array $path     Path to the property to be removed.
    217217         */
    218218        private static function unset_setting_by_path( &$settings, $path ) {
Note: See TracChangeset for help on using the changeset viewer.