Docs: Fix a typo in an inline comment in `wp_get_attachment_image_srcset_array()`.

Props neoxx.
Fixes #34319.


git-svn-id: https://develop.svn.wordpress.org/trunk@35210 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-10-15 20:51:58 +00:00
parent 666d07352e
commit c8bf2ce727
1 changed files with 1 additions and 1 deletions

View File

@ -868,7 +868,7 @@ function wp_get_attachment_image_srcset_array( $attachment_id, $size = 'medium'
$img_width = ( $image ) ? $image['width'] : $img_meta['width'];
$img_height = ( $image ) ? $image['height'] : $img_meta['height'];
// Bail early if the width isn't greater that zero.
// Bail early if the width isn't greater than zero.
if ( ! $img_width > 0 ) {
return false;
}