mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Remove get_current_screen() call
git-svn-id: https://develop.svn.wordpress.org/trunk@15835 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8b610e7c83
commit
77b8718db9
@ -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
Block a user