Fix typos, props aldenta, fixes #11440
git-svn-id: http://svn.automattic.com/wordpress/trunk@12400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
afdd8d229a
commit
061e5ff77d
|
@ -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