Media: Fix inline docs typo inside `wp_calculate_image_srcset()` function.

mathces -> matches.

Props neoxx.

Fixes #35714.
Built from https://develop.svn.wordpress.org/trunk@36517


git-svn-id: http://core.svn.wordpress.org/trunk@36484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Rachel Baker 2016-02-12 18:15:30 +00:00
parent 0e27fdcc47
commit cf0288e291
2 changed files with 2 additions and 2 deletions

View File

@ -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 * 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. * an incorrect image. See #35045.
*/ */
$src_matched = false; $src_matched = false;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-alpha-36516'; $wp_version = '4.5-alpha-36517';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.