]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/post-thumbnail-template.php
Wordpress 3.0.4-scripts
[autoinstalls/wordpress.git] / wp-includes / post-thumbnail-template.php
index 5f59040537d7d3a28ec044dc5499f88d204b9dfa..547d4e170730d61ff17c50ea543a935e5492b9de 100644 (file)
 
 /**
  * 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.