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:
parent
c74cd320fa
commit
ef4dad6b8d
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue