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:
ryan 2010-10-22 18:42:26 +00:00
parent a438023aa5
commit 669c5fab8e
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' );