Make WordPress Core

Changeset 5035


Ignore:
Timestamp:
03/14/2007 01:53:35 AM (18 years ago)
Author:
ryan
Message:

wp_title() fixes from dwc. fixes #3967

File:
1 edited

Legend:

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

    r5022 r5035  
    138138
    139139function wp_title($sep = '»', $display = true) {
    140     global $wpdb, $month;
     140    global $wpdb, $posts, $month;
    141141
    142142    $cat = get_query_var('cat');
     
    201201
    202202    $prefix = '';
    203     if ( isset($title) )
     203    if ( !empty($title) )
    204204        $prefix = " $sep ";
    205205
Note: See TracChangeset for help on using the changeset viewer.