WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/03/2004 05:07:53 PM (17 years ago)
Author:
rboren
Message:

Fix wp_title() for pages.

File:
1 edited

Legend:

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

    r1726 r1729  
    167167
    168168    // If there's a post
    169     if (is_single()) {
     169    if (is_single() || is_page()) {
    170170        $title = strip_tags($posts[0]->post_title);
    171171        $title = apply_filters('single_post_title', $title);
Note: See TracChangeset for help on using the changeset viewer.