Make WordPress Core

Changeset 9486


Ignore:
Timestamp:
11/03/2008 06:22:36 AM (17 years ago)
Author:
ryan
Message:

Don't descend into single post title for the home page. see #3805

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r9479 r9486  
    433433
    434434    // If there is a post
    435     if ( ( is_single() || is_page() || is_home() ) && !( is_front_page() && is_page() ) ) {
     435    if ( is_single() ||  ( is_page() && !is_front_page() ) ) {
    436436        $post = $wp_query->get_queried_object();
    437437        $title = strip_tags( apply_filters( 'single_post_title', $post->post_title ) );
Note: See TracChangeset for help on using the changeset viewer.