mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-24 17:21:34 +01:00
Docs: Fix a typo in an inline comment in wp_get_attachment_image_srcset_array()
.
Props neoxx. Fixes #34319. Built from https://develop.svn.wordpress.org/trunk@35210 git-svn-id: http://core.svn.wordpress.org/trunk@35176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bcdad0aa12
commit
d4711aff8a
@ -868,7 +868,7 @@ function wp_get_attachment_image_srcset_array( $attachment_id, $size = 'medium'
|
|||||||
$img_width = ( $image ) ? $image['width'] : $img_meta['width'];
|
$img_width = ( $image ) ? $image['width'] : $img_meta['width'];
|
||||||
$img_height = ( $image ) ? $image['height'] : $img_meta['height'];
|
$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 ) {
|
if ( ! $img_width > 0 ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35209';
|
$wp_version = '4.4-alpha-35210';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user