Make WordPress Core


Ignore:
Timestamp:
12/07/2021 12:18:50 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Various inline documentation corrections and improvements.

See #53399

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r52299 r52332  
    883883 * @uses get_intermediate_image_sizes()
    884884 *
    885  * @return array Associative array of the registered image sub-sizes.
     885 * @return array[] Associative array of arrays of image sub-size information,
     886 *                 keyed by image size name.
    886887 */
    887888function wp_get_registered_image_subsizes() {
     
    52125213
    52135214/**
    5214  * Extracts meta information about a webp file: width, height and type.
     5215 * Extracts meta information about a WebP file: width, height, and type.
    52155216 *
    52165217 * @since 5.8.0
    52175218 *
    52185219 * @param string $filename Path to a WebP file.
    5219  * @return array $webp_info {
     5220 * @return array {
    52205221 *     An array of WebP image information.
    52215222 *
    5222  *     @type array $size {
    5223  *         @type int|false    $width  Image width on success, false on failure.
    5224  *         @type int|false    $height Image height on success, false on failure.
    5225  *         @type string|false $type   The WebP type: one of 'lossy', 'lossless' or 'animated-alpha'.
    5226  *                                    False on failure.
    5227  *     }
     5223 *     @type int|false    $width  Image width on success, false on failure.
     5224 *     @type int|false    $height Image height on success, false on failure.
     5225 *     @type string|false $type   The WebP type: one of 'lossy', 'lossless' or 'animated-alpha'.
     5226 *                                False on failure.
     5227 * }
    52285228 */
    52295229function wp_get_webp_info( $filename ) {
Note: See TracChangeset for help on using the changeset viewer.