[wp-trac] [WordPress Trac] #16588: is_admin_bar_showing can return true when it isn't

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 20 19:27:15 UTC 2011


#16588: is_admin_bar_showing can return true when it isn't
--------------------------+------------------------------
 Reporter:  westi         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  low           |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by nacin):

 * keywords:  needs-patch => has-patch


Comment:

 Agreed. Patch attached makes sure that wp-login.php avoids the is_admin()
 check.

 If on the other hand you did want the admin bar on the login page, you
 could still use the show_admin_bar filter. You'd need to attach the admin
 bar to the specific hooks yourself anyway.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16588#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list