From 1a70603eb267aa7ed92669e3a4ad0ea960e32b8a Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 26 Sep 2011 21:11:46 +0000 Subject: [PATCH] Use correct variable. see #18690. git-svn-id: http://svn.automattic.com/wordpress/trunk@18780 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 2b2c3f729e..dffecd2aac 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -2337,9 +2337,9 @@ class WP_Screen { } function set_parentage( $parent_file ) { - $current_screen->parent_file = $parent_file; - $current_screen->parent_base = preg_replace('/\?.*$/', '', $parent_file); - $current_screen->parent_base = str_replace('.php', '', $current_screen->parent_base); + $this->parent_file = $parent_file; + $this->parent_base = preg_replace('/\?.*$/', '', $parent_file); + $this->parent_base = str_replace('.php', '', $current_screen->parent_base); } function add_option( $option, $args = array() ) {