mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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:
parent
336f42db94
commit
2e544d32b6
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user