Fix typos, props aldenta, fixes #11440

git-svn-id: https://develop.svn.wordpress.org/trunk@12400 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-12-15 04:55:47 +00:00
parent c74cd320fa
commit ef4dad6b8d
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}