From 5e8cd5433a808040ca9381f85894538d1a01b8d9 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sat, 29 Dec 2012 17:59:08 +0000 Subject: [PATCH] Fix the PHPDoc for the_post_thumbnail(). props georgestephanis. fixes #22885 git-svn-id: https://develop.svn.wordpress.org/trunk@23227 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post-thumbnail-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-thumbnail-template.php b/wp-includes/post-thumbnail-template.php index 16952d03c8..dda0e34a1e 100644 --- a/wp-includes/post-thumbnail-template.php +++ b/wp-includes/post-thumbnail-template.php @@ -39,7 +39,7 @@ function get_post_thumbnail_id( $post_id = null ) { * * @since 2.9.0 * - * @param int $size Optional. Image size. Defaults to 'post-thumbnail', which theme sets using set_post_thumbnail_size( $width, $height, $crop_flag );. + * @param string|array $size Optional. Image size. Defaults to 'post-thumbnail', which theme sets using set_post_thumbnail_size( $width, $height, $crop_flag );. * @param string|array $attr Optional. Query string or array of attributes. */ function the_post_thumbnail( $size = 'post-thumbnail', $attr = '' ) {