X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/3f5685912e89eb3b0534acd85aa0946b1ca2bbe3..2376fb745f4ae8c6bd2353127524e0b28005143d:/wp-includes/post-thumbnail-template.php?ds=inline diff --git a/wp-includes/post-thumbnail-template.php b/wp-includes/post-thumbnail-template.php index 5f590405..547d4e17 100644 --- a/wp-includes/post-thumbnail-template.php +++ b/wp-includes/post-thumbnail-template.php @@ -11,11 +11,11 @@ /** * Check if post has an image attached. - * + * * @since 2.9.0 * * @param int $post_id Optional. Post ID. - * @return bool Whether post has an image attached (true) or not (false). + * @return bool Whether post has an image attached. */ function has_post_thumbnail( $post_id = NULL ) { global $id; @@ -25,7 +25,7 @@ function has_post_thumbnail( $post_id = NULL ) { /** * Retrieve Post Thumbnail ID. - * + * * @since 2.9.0 * * @param int $post_id Optional. Post ID. @@ -39,7 +39,7 @@ function get_post_thumbnail_id( $post_id = NULL ) { /** * Display Post Thumbnail. - * + * * @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 );. @@ -51,7 +51,7 @@ function the_post_thumbnail( $size = 'post-thumbnail', $attr = '' ) { /** * Retrieve Post Thumbnail. - * + * * @since 2.9.0 * * @param int $post_id Optional. Post ID.