Make WordPress Core

Ticket #19685: hide_admin_bar.diff

File hide_admin_bar.diff, 413 bytes (added by benallfree, 13 years ago)
  • wp-includes/admin-bar.php

     
    708708
    709709        // Integrated into the admin.
    710710        if ( is_admin() )
    711                 return true;
     711                $show_admin_bar = true;
    712712
    713713        if ( ! isset( $show_admin_bar ) ) {
    714714                if ( ! is_user_logged_in() || 'wp-login.php' == $pagenow ) {