Changeset 5035

Show
Ignore:
Timestamp:
03/14/07 01:53:35 (1 year ago)
Author:
ryan
Message:

wp_title() fixes from dwc. fixes #3967

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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