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:
parent
666d07352e
commit
c8bf2ce727
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user