Global $m in wp_title() so that date archive titles are displayed correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@1396 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1935f7c897
commit
7f3d0a8af1
|
@ -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…
Reference in New Issue