Global $m in wp_title() so that date archive titles are displayed correctly.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-06-09 20:35:58 +00:00
parent 336f42db94
commit 2e544d32b6

View File

@ -67,7 +67,7 @@ function get_bloginfo($show='') {
function wp_title($sep = '»', $display = true) {
global $wpdb;
global $year, $monthnum, $day, $cat, $p, $name, $month, $posts, $single;
global $m, $year, $monthnum, $day, $cat, $p, $name, $month, $posts, $single;
// If there's a category
if(!empty($cat)) {