From 8f1bbe77245377d94cbc3cac206b49d11abade40 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 12 Oct 2022 13:21:56 +0000 Subject: [PATCH] Docs: Inline comment typo correction in `wp_image_file_matches_image_meta()`. Props kebbet. See #55646, #56792. git-svn-id: https://develop.svn.wordpress.org/trunk@54505 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 b12d8bd7ae..bfd71cdcb3 100644 --- a/src/wp-includes/media.php +++ b/src/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.