[wp-trac] [WordPress Trac] #29889: Login redirect to login page even if authenticated
WordPress Trac
noreply at wordpress.org
Wed Oct 8 15:39:31 UTC 2014
#29889: Login redirect to login page even if authenticated
------------------------------------+------------------------------
Reporter: sgissinger | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 3.9.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
------------------------------------+------------------------------
Comment (by sgissinger):
I just tested with IE11 and Chrome37.
On the first access, {{{wordpress_test_cookie}}} is not set as it should
be.
Once this cookie set everything works fine which looks like a confirmation
of what I supposed earlier in this ticket.
In {{{wp-login.php}}} file on line 425, the following code must always set
the {{{wordpress_test_cookie}}}, there no exclusive conditions and headers
do not seem to have been sent.
{{{
//Set a cookie now to see if they are supported by the browser.
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
if ( SITECOOKIEPATH != COOKIEPATH )
setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH,
COOKIE_DOMAIN);
}}}
Beside that, Wordpress successfully set cookies named {{{wp-settings-1}}}
and {{{wp-settings-time-1}}} on the first access.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29889#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list