Changeset 19029
- Timestamp:
- 10/20/2011 03:11:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-thumbnail-template.php
r18827 r19029 19 19 */ 20 20 function has_post_thumbnail( $post_id = null ) { 21 $post_id = ( null === $post_id ) ? get_the_ID() : $post_id;22 21 return (bool) get_post_thumbnail_id( $post_id ); 23 22 }
Note: See TracChangeset
for help on using the changeset viewer.