[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 12:52:13 UTC 2015


#31314: My Sites admin bar link broken when on blogs you have no role on
--------------------------------+----------------------------------------
 Reporter:  simonwheatley       |       Owner:  jeremyfelt
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.2
Component:  Networks and Sites  |     Version:  trunk
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  administration, multisite
--------------------------------+----------------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"31448"]:
 {{{
 #!CommitTicketReference repository="" revision="31448"
 Use `get_admin_url()` to get the correct My Sites URL without calling
 `switch_to_blog()` directly.

 props ocean90.
 see #31314.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31314#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list