Twenty Sixteen: Correct the `@return` value for `twentysixteen_post_thumbnail_sizes_attr()`.
Props truongwp. See #41830. Built from https://develop.svn.wordpress.org/trunk@41341 git-svn-id: http://core.svn.wordpress.org/trunk@41174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a1688f0d2a
commit
15c38a8068
|
@ -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 ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-alpha-41340';
|
||||
$wp_version = '4.9-alpha-41341';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue