From 5477da88f0f2e3d8e1fcaaa43bba1aeb9e5bbfcf Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Wed, 19 Jul 2023 22:46:00 +0200
Subject: [PATCH] CS: no precision alignment
---
src/wp-includes/media.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php
index db5565e385..a2004e36a2 100644
a
|
b
|
function wp_image_add_srcset_and_sizes( $image, $image_meta, $attachment_id ) { |
1710 | 1710 | |
1711 | 1711 | // Bail early if an image has been inserted and later edited. |
1712 | 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] ) ) { |
| 1713 | ! str_contains( wp_basename( $image_src ), $img_edit_hash[0] ) ) { |
1714 | 1714 | |
1715 | 1715 | return $image; |
1716 | 1716 | } |