Changeset 28609 for trunk/src/wp-includes/functions.php
- Timestamp:
- 05/29/2014 03:58:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r28588 r28609 3388 3388 */ 3389 3389 function force_ssl_login( $force = null ) { 3390 static $forced = false; 3391 3392 if ( !is_null( $force ) ) { 3393 $old_forced = $forced; 3394 $forced = $force; 3395 return $old_forced; 3396 } 3397 3398 return $forced; 3390 return force_ssl_admin( $force ); 3399 3391 } 3400 3392 … … 4306 4298 $same_domain = ( strpos( $login_url, $current_domain ) === 0 ); 4307 4299 4308 if ( $same_domain && force_ssl_login() && ! force_ssl_admin() )4309 $same_domain = false;4310 4311 4300 /** 4312 4301 * Filter whether the authentication check originated at the same domain.
Note: See TracChangeset
for help on using the changeset viewer.