From c488a71e1196594088723a5753ed886a6b84d017 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Wed, 12 Oct 2022 13:23:14 +0000 Subject: [PATCH] Docs: Inline comment typo correction in `wp_image_file_matches_image_meta()`. Props kebbet. See #55646, #56792. Built from https://develop.svn.wordpress.org/trunk@54505 git-svn-id: http://core.svn.wordpress.org/trunk@54064 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index b12d8bd7ae..bfd71cdcb3 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1544,7 +1544,7 @@ function wp_image_file_matches_image_meta( $image_location, $image_meta, $attach // Ensure the $image_meta is valid. if ( isset( $image_meta['file'] ) && strlen( $image_meta['file'] ) > 4 ) { - // Remove quiery args if image URI. + // Remove query args in image URI. list( $image_location ) = explode( '?', $image_location ); // Check if the relative image path from the image meta is at the end of $image_location. diff --git a/wp-includes/version.php b/wp-includes/version.php index fb079abe97..cbb1399628 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-RC1-54504'; +$wp_version = '6.1-RC1-54505'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.