Changeset 12665
- Timestamp:
- 01/08/2010 07:09:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r12398 r12665 478 478 } 479 479 480 // If the user was redirect to a secure login form from a non-secure admin page, and secure login is required but secure admin is not, then don't use a secure 481 // cookie and redirect back to the referring non-secure admin page. This allows logins to always be POSTed over SSL while allowing the user to choose visiting 482 // the admin via http or https. 480 483 if ( !$secure_cookie && is_ssl() && force_ssl_login() && !force_ssl_admin() && ( 0 !== strpos($redirect_to, 'https') ) && ( 0 === strpos($redirect_to, 'http') ) ) 481 484 $secure_cookie = false;
Note: See TracChangeset
for help on using the changeset viewer.