Make WordPress Core

Ticket #16041: 16041.diff

File 16041.diff, 425 bytes (added by greuben, 14 years ago)
  • wp-includes/general-template.php

     
    636636function single_post_title($prefix = '', $display = true) {
    637637        global $post;
    638638
    639         if ( ! $post )
     639        if ( ! $post || is_home() )
    640640                $_post = get_queried_object();
    641641        else
    642642                $_post = $post;