#16588 closed defect (bug) (fixed)
is_admin_bar_showing can return true when it isn't
| Reported by: | westi | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 3.1.1 |
| Component: | General | Version: | 3.1 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
That you can go to wp-login.php when logged in, seems to be the real bug here: #14949.