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.
Built from https://develop.svn.wordpress.org/trunk@56283


git-svn-id: http://core.svn.wordpress.org/trunk@55795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-07-23 16:00:26 +00:00
parent a194e4b762
commit ffa1d288f3
2 changed files with 4 additions and 4 deletions

View File

@ -1709,9 +1709,9 @@ function wp_image_add_srcset_and_sizes( $image, $image_meta, $attachment_id ) {
} }
// Bail early if an image has been inserted and later edited. // Bail early if an image has been inserted and later edited.
if ( preg_match( '/-e[0-9]{13}/', $image_meta['file'], $img_edit_hash ) && if ( preg_match( '/-e[0-9]{13}/', $image_meta['file'], $img_edit_hash )
! str_contains( wp_basename( $image_src ), $img_edit_hash[0] ) ) { && ! str_contains( wp_basename( $image_src ), $img_edit_hash[0] )
) {
return $image; return $image;
} }

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.4-alpha-56282'; $wp_version = '6.4-alpha-56283';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.