[wp-trac] [WordPress Trac] #17829: Site Admin goes to User Admin if user has no sites

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 22 19:41:17 UTC 2011


#17829: Site Admin goes to User Admin if user has no sites
------------------------------+-----------------------
 Reporter:  trepmal           |       Owner:  nacin
     Type:  defect (bug)      |      Status:  accepted
 Priority:  normal            |   Milestone:  3.2
Component:  Network Admin     |     Version:  3.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by nacin):

 First patch solved the login, but not the link in the admin header.
 get_dashboard_url() would return wp-admin/user for supes, and I think we
 can agree that if the supes have no blogs, it should go to the main site
 (admin_url()).

 Second patch handles this by properly forcing the code to skip one branch
 and end up in the else.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17829#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list