Make WordPress Core

Changeset 41341


Ignore:
Timestamp:
09/08/2017 04:25:59 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Twenty Sixteen: Correct the @return value for twentysixteen_post_thumbnail_sizes_attr().

Props truongwp.
See #41830.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentysixteen/functions.php

    r40948 r41341  
    394394 * @param int   $attachment Image attachment ID.
    395395 * @param array $size Registered image size or flat array of height and width dimensions.
    396  * @return string A source size value for use in a post thumbnail 'sizes' attribute.
     396 * @return array The filtered attributes for the image markup.
    397397 */
    398398function twentysixteen_post_thumbnail_sizes_attr( $attr, $attachment, $size ) {
Note: See TracChangeset for help on using the changeset viewer.