#16588 closed defect (bug) (fixed)
is_admin_bar_showing can return true when it isn't
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.1.1 | Priority: | low |
Severity: | minor | Version: | 3.1 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
is_admin_bar_showing returns true on wp-login.php if you are logged in but it will never be shown.
It shouldn't
Attachments (1)
Change History (7)
#3
@
15 years ago
- Keywords has-patch added; needs-patch removed
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.
Note: See
TracTickets for help on using
tickets.
That you can go to wp-login.php when logged in, seems to be the real bug here: #14949.