From 77b8718db90bbd11cedb633276ce8f5192ac8ee5 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 18 Oct 2010 18:23:46 +0000 Subject: [PATCH] Remove get_current_screen() call git-svn-id: https://develop.svn.wordpress.org/trunk@15835 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/admin-bar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index 3556511254..bdbbfc512d 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -16,7 +16,7 @@ function wp_admin_bar_init() { else $show_it = true; - if ( ! apply_filters('show_admin_bar', $show_it, get_current_screen() ) ) + if ( ! apply_filters( 'show_admin_bar', $show_it ) ) return false; /* Set the protocol constant used throughout this code */