Make WordPress Core

Changeset 55712


Ignore:
Timestamp:
05/03/2023 07:44:49 PM (21 months ago)
Author:
johnbillion
Message:

Docs: Miscellaneous formatting corrections to inline docs and whitespace.

See #57840

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.devcontainer/devcontainer.json

    r55353 r55712  
    44    "dockerComposeFile": "docker-compose.yml",
    55    "service": "app",
    6     "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
     6    "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
    77
    88    // Features to add to the dev container. More info: https://containers.dev/features.
  • trunk/src/wp-includes/class-wp-theme-json.php

    r55711 r55712  
    973973     *
    974974     * @since 5.8.0
    975      * @since 5.9.0 Removed the `$type` parameter`, added the `$types` and `$origins` parameters.
     975     * @since 5.9.0 Removed the `$type` parameter, added the `$types` and `$origins` parameters.
    976976     *
    977977     * @param string[] $types   Types of styles to load. Will load all by default. It accepts:
     
    27502750     * For example:
    27512751     *
    2752      *  array(
    2753      *   'color' => array(
    2754      *     'palette'   => array( 'slug-1', 'slug-2' ),
    2755      *     'gradients' => array( 'slug-3', 'slug-4' ),
    2756      *   ),
    2757      * )
     2752     *     array(
     2753     *       'color' => array(
     2754     *         'palette'   => array( 'slug-1', 'slug-2' ),
     2755     *         'gradients' => array( 'slug-3', 'slug-4' ),
     2756     *       ),
     2757     *     )
    27582758     *
    27592759     * @since 5.9.0
     
    34313431        }
    34323432
    3433         // If there are 7 or less steps in the scale revert to numbers for labels instead of t-shirt sizes.
     3433        // If there are 7 or fewer steps in the scale revert to numbers for labels instead of t-shirt sizes.
    34343434        if ( $spacing_scale['steps'] <= 7 ) {
    34353435            for ( $spacing_sizes_count = 0; $spacing_sizes_count < count( $spacing_sizes ); $spacing_sizes_count++ ) {
Note: See TracChangeset for help on using the changeset viewer.