[wp-trac] [WordPress Trac] #31314: My Sites admin bar link broken when on blogs you have no role on
WordPress Trac
noreply at wordpress.org
Fri Feb 13 06:29:43 UTC 2015
#31314: My Sites admin bar link broken when on blogs you have no role on
--------------------------------+----------------------------------------
Reporter: simonwheatley | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Networks and Sites | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration, multisite
--------------------------------+----------------------------------------
Comment (by jeremyfelt):
Confirmed. This definitely leads to a confusing interface for a user. I
know I've been annoyed by this screen before. :)
We can use `$wp_admin_bar->user->active_blog->blog_id` instead, as it's
populated properly when the admin bar is first initialized.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31314#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list