#16588 closed defect (bug) (fixed)
is_admin_bar_showing can return true when it isn't
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 3.1.1 |
| Component: | General | Version: | 3.1 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | westi |
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)
- 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.
- Resolution set to fixed
- Status changed from new to closed
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.