Make sure force_ssl_login and force_ssl_admin work as designed. Fixes #7140 props wet.
git-svn-id: https://develop.svn.wordpress.org/trunk@8087 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1e42089bb1
commit
0cd764aac4
|
@ -1773,7 +1773,7 @@ function force_ssl_login($force = '') {
|
||||||
static $forced;
|
static $forced;
|
||||||
|
|
||||||
if ( '' != $force ) {
|
if ( '' != $force ) {
|
||||||
$old_forcded = $forced;
|
$old_forced = $forced;
|
||||||
$forced = $force;
|
$forced = $force;
|
||||||
return $old_forced;
|
return $old_forced;
|
||||||
}
|
}
|
||||||
|
@ -1785,7 +1785,7 @@ function force_ssl_admin($force = '') {
|
||||||
static $forced;
|
static $forced;
|
||||||
|
|
||||||
if ( '' != $force ) {
|
if ( '' != $force ) {
|
||||||
$old_forcded = $forced;
|
$old_forced = $forced;
|
||||||
$forced = $force;
|
$forced = $force;
|
||||||
return $old_forced;
|
return $old_forced;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue