Move all auth stuff into functions.

git-svn-id: https://develop.svn.wordpress.org/trunk@1947 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-12-14 03:00:55 +00:00
parent 3cc9440361
commit 59d1012c9d
5 changed files with 23 additions and 19 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ for ($i=0; $i<count($wpvarstoreset); $i += 1) {
}
require_once('../wp-config.php');
require_once('auth.php');
auth_redirect();
switch($action) {
case 'update':