Make WordPress Core


Ignore:
Timestamp:
11/20/2015 06:15:19 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Docs: Remove redundant type strings from the wp_calculate_image_srcset filter DocBlock.

Props DH-Shredder, joemcgill.
See #34733.

File:
1 edited

Legend:

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

    r35715 r35716  
    10811081         *     One or more arrays of source data to include in the 'srcset'.
    10821082         *
    1083          *     @type type array $width {
    1084          *          @type type string $url        The URL of an image source.
    1085          *          @type type string $descriptor The descriptor type used in the image candidate string,
    1086          *                                        either 'w' or 'x'.
    1087          *          @type type int    $value      The source width, if paired with a 'w' descriptor or a
    1088          *                                        pixel density value if paired with an 'x' descriptor.
     1083         *     @type array $width {
     1084         *         @type string $url        The URL of an image source.
     1085         *         @type string $descriptor The descriptor type used in the image candidate string,
     1086         *                                  either 'w' or 'x'.
     1087         *         @type int    $value      The source width if paired with a 'w' descriptor, or a
     1088         *                                  pixel density value if paired with an 'x' descriptor.
    10891089         *     }
    10901090         * }
Note: See TracChangeset for help on using the changeset viewer.