From 0cd764aac49b99dcef1c35d7d8c3dd0cd6136b89 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Sat, 14 Jun 2008 20:58:43 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 7199d32cba..ac3628f241 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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; }