[wp-trac] [WordPress Trac] #48831: WP Admin Bar doesn't display on wp-login.php page
WordPress Trac
noreply at wordpress.org
Thu Nov 28 23:46:08 UTC 2019
#48831: WP Admin Bar doesn't display on wp-login.php page
--------------------------+-----------------------------
Reporter: henry.wright | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I like to display the WP Admin Bar on all pages even if a user isn't
authenticated because we get the WordPress logo and menu and a search
button. To always show the WP Admin Bar we can do this:
{{{
add_filter( 'show_admin_bar', '__return_true' );
}}}
This will display it everywhere except wp-login.php. I think it _should_
display on this page if we return true in `show_admin_bar()`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48831>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list