Remove redundant logged in check. Props neoxx. see #14772

git-svn-id: https://develop.svn.wordpress.org/trunk@15914 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-10-22 18:42:26 +00:00
parent 414b000848
commit 3507043ba1
1 changed files with 1 additions and 2 deletions

View File

@ -27,8 +27,7 @@ function wp_admin_bar_init() {
$current_user = wp_get_current_user();
/* 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 */
require( ABSPATH . WPINC . '/admin-bar/admin-bar-class.php' );