From bff31c970e5a643503731ab3d921ca27a3f08dd6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 6 May 2021 13:58:57 +0000 Subject: [PATCH] Docs: Correct documentation for `wp_get_webp_info()` return results. Follow-up to [50810], [50814], [50815], [50818], [50819]. See #35725. Built from https://develop.svn.wordpress.org/trunk@50820 git-svn-id: http://core.svn.wordpress.org/trunk@50429 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 7 ++++--- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index c1dc3886f7..5aef552a3c 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -5056,9 +5056,10 @@ function wp_getimagesize( $filename, array &$image_info = null ) { * An array of WebP image information. * * @type array $size { - * @type int $width Image width. - * @type int $height Image height. - * @type bool $type The WebP type: one of 'lossy', 'lossless' or 'animated-alpha'. + * @type int|false $width Image width on success, false on failure. + * @type int|false $height Image height on success, false on failure. + * @type string|false $type The WebP type: one of 'lossy', 'lossless' or 'animated-alpha'. + * False on failure. * } */ function wp_get_webp_info( $filename ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 73e2319165..5746151c0c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50819'; +$wp_version = '5.8-alpha-50820'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.