[wpmu-trac] [WordPress MU Trac] #1076: Infinite Loop on New User Login
WordPress MU Trac
wpmu-trac at lists.automattic.com
Fri Aug 7 04:11:23 UTC 2009
#1076: Infinite Loop on New User Login
----------------------------+-----------------------------------------------
Reporter: deannas | Owner: donncha
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: Administration | Version: 2.8.2
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
Comment(by jamescollins):
Those changes look good Donncha.
There is still a problem though for existing user accounts that have a
primary_blog pointing to the dashboard blog even though they have their
own blog as well (ie accounts that were created before the underlying bug
was fixed).
The code you added to fix this the other day
(http://trac.mu.wordpress.org/browser/branches/2.8/wp-
admin/includes/mu.php#L517 line 517 onwards), never actually gets executed
at all.
To replicate, create a user account like deannas originally described:
1. Log in as site admin and create a new user via site admin -> users
2. Create a new blog via site admin -> blogs (using the new user's email
address so they get added as the blog admin).
3. Modify the primary_blog usermeta entry so it points to either blog id 1
or the dashboard blog (this is what was happening before the original bug
was fixed).
4. Attempt to log in to the main/dashboard blog as the new user.
The infinite redirect problem is there again.
In my case, I have the dashboard blog set to allusers.domain.com.
Then when logging into the main blog as the new user, the browser keeps
redirecting like so:
{{{
http://domain.com/wp-admin/
http://allusers.domain.com/wp-admin/?c=1
http://domain.com/wp-admin/profile.php
http://allusers.domain.com/wp-admin/?c=1
http://domain.com/wp-admin/profile.php
http://allusers.domain.com/wp-admin/?c=1
http://domain.com/wp-admin/profile.php
http://allusers.domain.com/wp-admin/?c=1
http://domain.com/wp-admin/profile.php
}}}
etc
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/1076#comment:12>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list