mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user