Make sure force_ssl_login and force_ssl_admin work as designed. Fixes #7140 props wet.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e707cb2ff0
commit
0dcd6e0e9c
|
@ -1773,7 +1773,7 @@ function force_ssl_login($force = '') {
|
|||
static $forced;
|
||||
|
||||
if ( '' != $force ) {
|
||||
$old_forcded = $forced;
|
||||
$old_forced = $forced;
|
||||
$forced = $force;
|
||||
return $old_forced;
|
||||
}
|
||||
|
@ -1785,7 +1785,7 @@ function force_ssl_admin($force = '') {
|
|||
static $forced;
|
||||
|
||||
if ( '' != $force ) {
|
||||
$old_forcded = $forced;
|
||||
$old_forced = $forced;
|
||||
$forced = $force;
|
||||
return $old_forced;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue