mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
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:
parent
a194e4b762
commit
ffa1d288f3
@ -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.
|
||||
if ( preg_match( '/-e[0-9]{13}/', $image_meta['file'], $img_edit_hash ) &&
|
||||
! str_contains( wp_basename( $image_src ), $img_edit_hash[0] ) ) {
|
||||
|
||||
if ( preg_match( '/-e[0-9]{13}/', $image_meta['file'], $img_edit_hash )
|
||||
&& ! str_contains( wp_basename( $image_src ), $img_edit_hash[0] )
|
||||
) {
|
||||
return $image;
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @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.
|
||||
|
Loading…
Reference in New Issue
Block a user