WordPress.org

Make WordPress Core

Changeset 49225


Ignore:
Timestamp:
10/20/2020 01:27:48 PM (6 months ago)
Author:
desrosj
Message:

Coding Standards: Correct some minor coding standards issues.

Introduced in [49154], [49212], [49223], and [49224].

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r49223 r49225  
    22452245 */
    22462246function _media_states( $post, $echo = true ) {
    2247     $media_states = get_media_states( $post );
     2247    $media_states        = get_media_states( $post );
    22482248    $media_states_string = '';
    22492249
  • trunk/src/wp-includes/functions.php

    r49215 r49225  
    76007600    $size = 0;
    76017601
    7602     $directory = untrailingslashit( $directory );
     7602    $directory  = untrailingslashit( $directory );
    76037603    $cache_path = normalize_dirsize_cache_path( $directory );
    76047604    $save_cache = false;
  • trunk/src/wp-includes/rest-api.php

    r49194 r49225  
    320320    // Site Health
    321321    $site_health = WP_Site_Health::get_instance();
    322     $controller = new WP_REST_Site_Health_Controller( $site_health );
     322    $controller  = new WP_REST_Site_Health_Controller( $site_health );
    323323    $controller->register_routes();
    324324}
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php

    r49224 r49225  
    367367            'type'       => 'object',
    368368            'properties' => array(
    369                 'api_version'            => array(
     369                'api_version'      => array(
    370370                    'description' => __( 'Version of block API.' ),
    371371                    'type'        => 'integer',
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php

    r49154 r49225  
    187187    public function get_directory_sizes() {
    188188        if ( ! class_exists( 'WP_Debug_Data' ) ) {
    189             require_once( ABSPATH . 'wp-admin/includes/class-wp-debug-data.php' );
     189            require_once ABSPATH . 'wp-admin/includes/class-wp-debug-data.php';
    190190        }
    191191
Note: See TracChangeset for help on using the changeset viewer.