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
This commit is contained in:
parent
a3e17acb53
commit
5e8cd5433a
|
@ -39,7 +39,7 @@ function get_post_thumbnail_id( $post_id = null ) {
|
||||||
*
|
*
|
||||||
* @since 2.9.0
|
* @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.
|
* @param string|array $attr Optional. Query string or array of attributes.
|
||||||
*/
|
*/
|
||||||
function the_post_thumbnail( $size = 'post-thumbnail', $attr = '' ) {
|
function the_post_thumbnail( $size = 'post-thumbnail', $attr = '' ) {
|
||||||
|
|
Loading…
Reference in New Issue