diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-03-26 11:04:22 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-03-26 11:04:22 +0000 |
| commit | 6b2942866a251bb84a81cb35811ee9a1d55a8d26 (patch) | |
| tree | 09b245f77ee6eaf5856b00b0e2e7f97bdb3550d8 /wp-includes/general-template.php | |
| parent | 2e96b99ceb195735a641e299f3209840cc101052 (diff) | |
| download | wordpress-mu-6b2942866a251bb84a81cb35811ee9a1d55a8d26.tar.gz wordpress-mu-6b2942866a251bb84a81cb35811ee9a1d55a8d26.tar.xz wordpress-mu-6b2942866a251bb84a81cb35811ee9a1d55a8d26.zip | |
WP Merge to rev 5109
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@934 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/general-template.php')
| -rw-r--r-- | wp-includes/general-template.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 37d80d6..7b21003 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -201,7 +201,8 @@ function wp_title($sep = '»', $display = true) { if ( !empty($m) ) { $my_year = substr($m, 0, 4); $my_month = $wp_locale->get_month($m); - $title = "$my_year $sep $my_month"; + $my_day = intval(substr($m, 6, 2)); + $title = "$my_year" . ($my_month ? "$sep $my_month" : "") . ($my_day ? "$sep $my_day" : ""); } if ( !empty($year) ) { |
