Make WordPress Core

Ticket #9288: 9288.1.diff

File 9288.1.diff, 553 bytes (added by sivel, 17 years ago)
  • wp-includes/general-template.php

     
    443443        }
    444444
    445445        // If there is a post
    446         if ( is_single() || ( is_page() && !is_front_page() ) ) {
     446        if ( is_single() || ( is_home() && !is_front_page() ) || ( is_page() && !is_front_page() ) ) {
    447447                $post = $wp_query->get_queried_object();
    448448                $title = strip_tags( apply_filters( 'single_post_title', $post->post_title ) );
    449449        }