@andriijas on WordPress.org
Created ticket #16540 on Core Trac:Unnecessary use of global in admin-bar.php