summaryrefslogtreecommitdiffstats
path: root/wp-includes/general-template.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-26 11:04:22 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-26 11:04:22 +0000
commit6b2942866a251bb84a81cb35811ee9a1d55a8d26 (patch)
tree09b245f77ee6eaf5856b00b0e2e7f97bdb3550d8 /wp-includes/general-template.php
parent2e96b99ceb195735a641e299f3209840cc101052 (diff)
downloadwordpress-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.php3
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 = '&raquo;', $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) ) {