Make WordPress Core

Changeset 56283


Ignore:
Timestamp:
07/23/2023 03:58:30 PM (18 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Correct alignment in wp-includes/media.php.

This resolves a WPCS warning:

Found precision alignment of 1 space.

Follow-up to [55988].

Props jrf.
See #58831.

File:
1 edited

Legend:

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

    r56273 r56283  
    17101710
    17111711    // Bail early if an image has been inserted and later edited.
    1712     if ( preg_match( '/-e[0-9]{13}/', $image_meta['file'], $img_edit_hash ) &&
    1713          ! str_contains( wp_basename( $image_src ), $img_edit_hash[0] ) ) {
    1714 
     1712    if ( preg_match( '/-e[0-9]{13}/', $image_meta['file'], $img_edit_hash )
     1713        && ! str_contains( wp_basename( $image_src ), $img_edit_hash[0] )
     1714    ) {
    17151715        return $image;
    17161716    }
Note: See TracChangeset for help on using the changeset viewer.