WordPress.org

Make WordPress Core

Ticket #11440: 11440.diff

File 11440.diff, 494 bytes (added by aldenta, 8 years ago)
  • wp-includes/post-thumbnail-template.php

     
    1919 */
    2020function has_post_thumbnail( $post_id = NULL ) {
    2121        global $id;
    22         $post_id = ( NULL === $post_id ) ? $id : $popost-thumbnailst_id;
     22        $post_id = ( NULL === $post_id ) ? $id : $post_id;
    2323        return !! get_post_thumbnail_id( $post_id );
    2424}
    2525