From e8402e5572c87d9fc6007b6a96b931163fd27911 Mon Sep 17 00:00:00 2001 From: Rachel Baker Date: Fri, 12 Feb 2016 18:14:03 +0000 Subject: [PATCH] Media: Fix inline docs typo inside `wp_calculate_image_srcset()` function. mathces -> matches. Props neoxx. Fixes #35714. git-svn-id: https://develop.svn.wordpress.org/trunk@36517 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 249e6857a2..4fa3cf5809 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -1070,7 +1070,7 @@ function wp_calculate_image_srcset( $size_array, $image_src, $image_meta, $attac /** * To make sure the ID matches our image src, we will check to see if any sizes in our attachment - * meta match our $image_src. If no mathces are found we don't return a srcset to avoid serving + * meta match our $image_src. If no matches are found we don't return a srcset to avoid serving * an incorrect image. See #35045. */ $src_matched = false;