Remove get_current_screen() call
git-svn-id: http://svn.automattic.com/wordpress/trunk@15835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
580bf5eead
commit
bb6b103711
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue