Changeset 12513 for trunk/wp-includes/general-template.php
- Timestamp:
- 12/23/2009 03:16:53 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/general-template.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r12356 r12513 468 468 $my_month = $wp_locale->get_month(substr($m, 4, 2)); 469 469 $my_day = intval(substr($m, 6, 2)); 470 $title = "$my_year" . ($my_month ? "$t_sep$my_month" : "") . ($my_day ? "$t_sep$my_day": "");470 $title = $my_year . ($my_month ? $t_sep . $my_month : "") . ($my_day ? $t_sep . $my_day : ""); 471 471 } 472 472 … … 474 474 $title = $year; 475 475 if ( !empty($monthnum) ) 476 $title .= "$t_sep". $wp_locale->get_month($monthnum);476 $title .= $t_sep . $wp_locale->get_month($monthnum); 477 477 if ( !empty($day) ) 478 $title .= "$t_sep". zeroise($day, 2);478 $title .= $t_sep . zeroise($day, 2); 479 479 } 480 480 … … 492 492 $term = $wp_query->get_queried_object(); 493 493 $term = $term->name; 494 $title = "$tax$t_sep$term";494 $title = $tax . $t_sep . $term; 495 495 } 496 496
Note: See TracChangeset
for help on using the changeset viewer.