I just upgraded my site to the latest nightly build. After a user clicked on the activation link inside the notify email, he got this error:
header already sent .....
/home/mshao/public_html/wp-includes/pluggable.php on line 311
I compared the new and old code at the line numebred.
New:
function wp_clearcookie() {
global $base;
setcookie(USER_COOKIE, ' ', time() - 31536000, $base, COOKIE_DOMAIN);
setcookie(PASS_COOKIE, ' ', time() - 31536000, $base, COOKIE_DOMAIN);
}
Old:
function wp_clearcookie() {
setcookie(USER_COOKIE, ' ', time() - 31536000, COOKIEPATH, COOKIE_DOMAIN);
setcookie(PASS_COOKIE, ' ', time() - 31536000, COOKIEPATH, COOKIE_DOMAIN);
setcookie(USER_COOKIE, ' ', time() - 31536000, SITECOOKIEPATH, COOKIE_DOMAIN);
setcookie(PASS_COOKIE, ' ', time() - 31536000, SITECOOKIEPATH, COOKIE_DOMAIN);
}
With the error, the activation was successful however. Any ideas?
Thanks