diff --git a/wp-includes/post-thumbnail-template.php b/wp-includes/post-thumbnail-template.php index baf1bce62..5f5904053 100644 --- a/wp-includes/post-thumbnail-template.php +++ b/wp-includes/post-thumbnail-template.php @@ -19,7 +19,7 @@ */ function has_post_thumbnail( $post_id = NULL ) { global $id; - $post_id = ( NULL === $post_id ) ? $id : $popost-thumbnailst_id; + $post_id = ( NULL === $post_id ) ? $id : $post_id; return !! get_post_thumbnail_id( $post_id ); }