Remove redundant logged in check. Props neoxx. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@15914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a438023aa5
commit
669c5fab8e
|
@ -27,7 +27,6 @@ function wp_admin_bar_init() {
|
||||||
$current_user = wp_get_current_user();
|
$current_user = wp_get_current_user();
|
||||||
|
|
||||||
/* Enqueue the JS files for the admin bar. */
|
/* Enqueue the JS files for the admin bar. */
|
||||||
if ( is_user_logged_in() )
|
|
||||||
wp_enqueue_script( 'jquery', false, false, false, true );
|
wp_enqueue_script( 'jquery', false, false, false, true );
|
||||||
|
|
||||||
/* Load the admin bar class code ready for instantiation */
|
/* Load the admin bar class code ready for instantiation */
|
||||||
|
|
Loading…
Reference in New Issue