WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/11/2010 05:04:06 PM (11 years ago)
Author:
nacin
Message:

Fix warnings related to static pages. props zeo for initial patch. fixes #13830.

File:
1 edited

Legend:

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

    r15224 r15227  
    586586    if ( is_single() || ( is_home() && !is_front_page() ) || ( is_page() && !is_front_page() ) ) {
    587587        $post = $wp_query->get_queried_object();
    588         $title = apply_filters( 'single_post_title', empty( $post->post_title ) ? '' : $post->post_title );
     588        $title = apply_filters( 'single_post_title', $post->post_title );
    589589    }
    590590
Note: See TracChangeset for help on using the changeset viewer.