Changeset 6538
- Timestamp:
- 01/02/2008 08:45:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r6536 r6538 160 160 161 161 162 function wp_title($sep = '»', $display = true ) {162 function wp_title($sep = '»', $display = true, $seplocation = '') { 163 163 global $wpdb, $wp_locale, $wp_query; 164 164 … … 236 236 $prefix = " $sep "; 237 237 238 $title = $prefix . $title; 238 // Determines position of the separator 239 if ( 'right' == $seplocation ) 240 $title = $title . $prefix; 241 else 242 $title = $prefix . $title; 243 239 244 $title = apply_filters('wp_title', $title, $sep); 240 245 … … 244 249 else 245 250 return $title; 251 246 252 } 247 253
Note: See TracChangeset
for help on using the changeset viewer.