WordPress.org

Make WordPress Core

Changeset 51230


Ignore:
Timestamp:
06/24/2021 08:54:43 PM (7 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix WPCS issues in [51227].

This fixes a "Tabs must be used to indent lines; spaces are not allowed" error.

See #53475.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r51227 r51230  
    22012201    // Check if WebP images can be edited.
    22022202    if ( ! wp_image_editor_supports( array( 'mime_type' => 'image/webp' ) ) ) {
    2203         $plupload_init['webp_upload_error'] = true;
     2203        $plupload_init['webp_upload_error'] = true;
    22042204    }
    22052205
  • trunk/src/wp-includes/media.php

    r51227 r51230  
    38613861    // Check if WebP images can be edited.
    38623862    if ( ! wp_image_editor_supports( array( 'mime_type' => 'image/webp' ) ) ) {
    3863         $defaults['webp_upload_error'] = true;
     3863        $defaults['webp_upload_error'] = true;
    38643864    }
    38653865
Note: See TracChangeset for help on using the changeset viewer.