WordPress.org

Make WordPress Core

Changeset 51693


Ignore:
Timestamp:
08/30/2021 02:08:43 PM (3 months ago)
Author:
desrosj
Message:

Coding Standards: Apply some minor alignment fixes.

These are updates caused by running composer format.

Follow up to [51501], [51599], [51618], [51653].
See #53359, #50542, #53238, #53668, #53690.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php

    r51618 r51693  
    224224                'twitch.tv',
    225225            ),
    226             'whatsapp' => array(
     226            'whatsapp'  => array(
    227227                'wa.me',
    228228                'whatsapp.com',
  • trunk/src/wp-includes/class-wp-theme-json-resolver.php

    r51599 r51693  
    9494    private static function translate( $theme_json, $domain = 'default' ) {
    9595        if ( null === self::$i18n_schema ) {
    96             $i18n_schema = wp_json_file_decode( __DIR__ . '/theme-i18n.json' );
     96            $i18n_schema       = wp_json_file_decode( __DIR__ . '/theme-i18n.json' );
    9797            self::$i18n_schema = null === $i18n_schema ? array() : $i18n_schema;
    9898        }
  • trunk/src/wp-includes/functions.php

    r51653 r51693  
    26292629
    26302630                // Other types of images whose names may conflict if their sub-sizes are regenerated.
    2631                 $alt_types = array_keys( array_intersect( $output_formats, array( $mime_type, $alt_mime_type ) ) );
     2631                $alt_types   = array_keys( array_intersect( $output_formats, array( $mime_type, $alt_mime_type ) ) );
    26322632                $alt_types[] = $alt_mime_type;
    26332633            } elseif ( ! empty( $output_formats ) ) {
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php

    r51501 r51693  
    525525                    'readonly'    => true,
    526526                ),
    527                 'view_script'    => array(
     527                'view_script'      => array(
    528528                    'description' => __( 'Public facing script handle.' ),
    529529                    'type'        => array( 'string', 'null' ),
Note: See TracChangeset for help on using the changeset viewer.