Thank to a report i've discover that unfortunately all installations into domains names like
mydomain.co.uk
was failing because the cookie was not released for a wrong domain (resulting after code process).
The file
wp_w3all.php has been patched with a temporary fix, and line:
Code: Select all
$w3cookie_domain = preg_replace('/^[^\.]*\.([^\.]*)\.(.*)$/', '\1.\2', $w3cookie_domain);
has been changed into:
Code: Select all
$posdot = strpos($w3cookie_domain, '.');
if($posdot == 0){
$w3cookie_domain = preg_replace('/^[^\.]*\.([^\.]*)\.(.*)$/', '\1.\2', $w3cookie_domain);
}
but this is not still a good solution for all situations/domains.
to temporary resolve, if even after the above fix you experience loop onlogin redirect when login is done in WP side, you can add just the follow after the above code:
Code: Select all
$w3cookie_domain = 'mydomain.co.uk';
OR
Code: Select all
$w3cookie_domain = '.mydomain.co.uk';
this is a temporary fix, all will be resolved on 1.7.0 about this.
Thank to a report i've discover that unfortunately all installations into domains names like
[b]mydomain.co.uk[/b]
was failing because the cookie was not released for a wrong domain (resulting after code process).
The file [b]wp_w3all.php[/b] has been patched with a temporary fix, and line:
[code]$w3cookie_domain = preg_replace('/^[^\.]*\.([^\.]*)\.(.*)$/', '\1.\2', $w3cookie_domain);[/code]
has been changed into:
[code] $posdot = strpos($w3cookie_domain, '.');
if($posdot == 0){
$w3cookie_domain = preg_replace('/^[^\.]*\.([^\.]*)\.(.*)$/', '\1.\2', $w3cookie_domain);
}[/code]
but this is not still a good solution for all situations/domains.
to temporary resolve, if even after the above fix you experience loop onlogin redirect when login is done in WP side, you can add just the follow after the above code:
[code]$w3cookie_domain = 'mydomain.co.uk';[/code]
OR
[code]$w3cookie_domain = '.mydomain.co.uk';[/code]
[b]this is a temporary fix, all will be resolved on 1.7.0 about this.[/b]