diff --git a/wp-admin/includes/image.php b/wp-admin/includes/image.php index 5f9141c4d6..2bdcc505e4 100644 --- a/wp-admin/includes/image.php +++ b/wp-admin/includes/image.php @@ -782,7 +782,7 @@ function wp_read_image_metadata( $file ) { ) { $iptc = iptcparse( $info['APP13'] ); } else { - // phpcs:ignore WordPress.PHP.NoSilencedErrors -- Silencing notice and warning is intentional. See https://core.trac.wordpress.org/ticket/42480 + // Silencing notice and warning is intentional. See https://core.trac.wordpress.org/ticket/42480 $iptc = @iptcparse( $info['APP13'] ); } @@ -855,7 +855,7 @@ function wp_read_image_metadata( $file ) { ) { $exif = exif_read_data( $file ); } else { - // phpcs:ignore WordPress.PHP.NoSilencedErrors -- Silencing notice and warning is intentional. See https://core.trac.wordpress.org/ticket/42480 + // Silencing notice and warning is intentional. See https://core.trac.wordpress.org/ticket/42480 $exif = @exif_read_data( $file ); } diff --git a/wp-includes/functions.php b/wp-includes/functions.php index a57623f52a..d7c0a9bbdf 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3317,7 +3317,6 @@ function wp_get_image_mime( $file ) { // Not using wp_getimagesize() here to avoid an infinite loop. $imagesize = getimagesize( $file ); } else { - // phpcs:ignore WordPress.PHP.NoSilencedErrors $imagesize = @getimagesize( $file ); } diff --git a/wp-includes/media.php b/wp-includes/media.php index 988086e009..c383a8c586 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -5477,10 +5477,8 @@ function wp_getimagesize( $filename, array &$image_info = null ) { * See https://core.trac.wordpress.org/ticket/42480 */ if ( 2 === func_num_args() ) { - // phpcs:ignore WordPress.PHP.NoSilencedErrors $info = @getimagesize( $filename, $image_info ); } else { - // phpcs:ignore WordPress.PHP.NoSilencedErrors $info = @getimagesize( $filename ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index ced110f7d7..740ddf044d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-beta1-56742'; +$wp_version = '6.4-beta1-56743'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.