From ffacf3e36bab4a1c2cff4aec63699ecd3b8a05ce Mon Sep 17 00:00:00 2001 From: nacin Date: Sun, 26 Sep 2010 09:16:38 +0000 Subject: [PATCH] Prevent the $title global from being stomped. Caused by merger of manage_columns_prefs() into screen_meta() in [15653]. see #14952, see #14776. The global is apparent cruft as the function doesn't use it. git-svn-id: http://svn.automattic.com/wordpress/trunk@15662 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-header.php | 7 +++++++ wp-admin/includes/template.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index dad996ce18..293e65a720 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -161,8 +161,12 @@ echo implode(' ', $links); parent_file = $parent_file; $current_screen->parent_base = preg_replace('/\?.*$/', '', $parent_file); $current_screen->parent_base = str_replace('.php', '', $current_screen->parent_base); @@ -170,8 +174,11 @@ $current_screen->parent_base = str_replace('.php', '', $current_screen->parent_b