Admin bar does not display when going from the dashboard to the site unless the Refresh button is pressed
|Reported by:||pressuser79||Owned by:|
I noticed a condition where the Admin Bar does not display across the top of the front end (not the dashboard). This happens in a bare bones installation, default 2013 theme, no active plugins.
- Clear the browser cache/history just to be sure.
- Put the URL of the site directly into the browser to view the site's front page.
- Modify the URL by adding /wp-admin to the end of the URL. It's critical that this done after visiting the front page of the site.
- On the login page, login to the wordpress dashboard.
- While viewing the dashboard, click on the top left corner of the site (on the admin bar) on the button next to the Wordpress logo. This button contains the site name and will take you back to the front end of the site. (You may also hover over this button and select the "Visit Site" link that drops down.)
- You will be taken back to the front page of the site, but the admin bar WILL NOT be displayed. However, if you press the browsers Refresh button, the admin bar will magically pop in and proceed to work as expected.
It is critical that you first visit the site's front page and then try to login. If you were to go directly to http://site.com/wp-admin, the admin bar WILL display correctly when you go from the dashboard back to the site. There's something about visiting the front page first and then coming back to it after login that is preventing the admin bar from displaying. Perhaps something is being cached and the Refresh action clears the cache, allowing the admin bar to be displayed.
Change History (9)
comment:2 @bansod_deven — 15 months ago
- Keywords Invalid Could_Not_Reproduce added; needs-patch removed
- Resolution set to invalid
- Status changed from new to closed
comment:3 @samuelsidler — 15 months ago
- Keywords needs-patch added; Invalid Could_Not_Reproduce removed
- Resolution invalid deleted
- Status changed from closed to reopened