mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 00:01:27 +01:00
Fix the PHPDoc for the_post_thumbnail(). props georgestephanis. fixes #22885
git-svn-id: http://core.svn.wordpress.org/trunk@23227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c31d11fc89
commit
78d6345d88
@ -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 = '' ) {
|
||||
|
Loading…
Reference in New Issue
Block a user