Changeset 5035
- Timestamp:
- 03/14/07 01:53:35 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.0/wp-includes/template-functions-general.php
r5022 r5035 138 138 139 139 function wp_title($sep = '»', $display = true) { 140 global $wpdb, $ month;140 global $wpdb, $posts, $month; 141 141 142 142 $cat = get_query_var('cat'); … … 201 201 202 202 $prefix = ''; 203 if ( isset($title) )203 if ( !empty($title) ) 204 204 $prefix = " $sep "; 205 205
