[wp-trac] [WordPress Trac] #23371: Subdir front-end Toolbar bug on first login

WordPress Trac noreply at wordpress.org
Sat Feb 2 22:36:59 UTC 2013


#23371: Subdir front-end Toolbar bug on first login
-----------------------------+--------------------------
 Reporter:  DrewAPicture     |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Toolbar
  Version:  3.3              |   Severity:  normal
 Keywords:  dev-feedback     |
-----------------------------+--------------------------
 In an obscure set of circumstances, I encountered a small bug where the
 Toolbar doesn't display on the front-end of a subdirectory install on the
 first login where the site URL points to the root domain.

 `show_admin_bar_front` is rightly set to true both on first and second+
 logins, but the Toolbar doesn't display on the front-end. The js isn't
 even being loaded.

 I can reproduce this all the way back to 3.3.

 To reproduce:
 1. Install a fresh copy of !WordPress in a subdirectory.
 2. Login.
 3. Change site url to point to the main domain.
 4. Visit the front-end, observe the Toolbar isn't displayed.
 5. Logout.
 6. Login again.
 7. Re-visit the front-end, observe the Toolbar now displays as expected.

 I'm unable to trace back what's causing the Toolbar not to be displayed
 after the initial login. Maybe we should just force the user to login
 again after changing the site url.

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


More information about the wp-trac mailing list