From 5df690648ad951860807ab85c30e4cd969ab9ae1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 8 Sep 2017 04:25:59 +0000 Subject: [PATCH] Twenty Sixteen: Correct the `@return` value for `twentysixteen_post_thumbnail_sizes_attr()`. Props truongwp. See #41830. git-svn-id: https://develop.svn.wordpress.org/trunk@41341 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentysixteen/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentysixteen/functions.php b/src/wp-content/themes/twentysixteen/functions.php index bd576e792a..4d305c6ecd 100644 --- a/src/wp-content/themes/twentysixteen/functions.php +++ b/src/wp-content/themes/twentysixteen/functions.php @@ -393,7 +393,7 @@ add_filter( 'wp_calculate_image_sizes', 'twentysixteen_content_image_sizes_attr' * @param array $attr Attributes for the image markup. * @param int $attachment Image attachment ID. * @param array $size Registered image size or flat array of height and width dimensions. - * @return string A source size value for use in a post thumbnail 'sizes' attribute. + * @return array The filtered attributes for the image markup. */ function twentysixteen_post_thumbnail_sizes_attr( $attr, $attachment, $size ) { if ( 'post-thumbnail' === $size ) {