WordPress.org

Make WordPress Core

Changeset 11395


Ignore:
Timestamp:
05/19/09 15:48:47 (5 years ago)
Author:
ryan
Message:

Fix display of titles for front pages. Props sivel. fixes #9288

File:
1 edited

Legend:

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

    r11383 r11395  
    456456 
    457457    // If there is a post 
    458     if ( is_single() || ( is_page() && !is_front_page() ) ) { 
     458    if ( is_single() || ( is_home() && !is_front_page() ) || ( is_page() && !is_front_page() ) ) { 
    459459        $post = $wp_query->get_queried_object(); 
    460460        $title = strip_tags( apply_filters( 'single_post_title', $post->post_title ) ); 
Note: See TracChangeset for help on using the changeset viewer.