[wp-trac] [WordPress Trac] #25782: Admin bar does not display when going from the dashboard to the site unless the Refresh button is pressed

WordPress Trac noreply at wordpress.org
Thu Oct 31 00:10:43 UTC 2013


#25782: Admin bar does not display when going from the dashboard to the site unless
the Refresh button is pressed
--------------------------+-----------------------------
 Reporter:  pressuser79   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTTP          |    Version:  3.7.1
 Severity:  major         |   Keywords:  needs-patch
--------------------------+-----------------------------
 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.

 0. Clear the browser cache/history just to be sure.
 1. Put the URL of the site directly into the browser to view the site's
 front page.
 2. 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.
 3. On the login page, login to the wordpress dashboard.
 4. 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.)
 5. 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.

 '''Note'''
 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.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25782>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list