diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-06-13 17:21:00 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-06-13 17:21:00 +0000 |
commit | 12de05107e4c8b006bde6ee8916f34eb476d08da (patch) | |
tree | 123ee54ecd1f3f777373b7df54a4604012d43640 /wp-pass.php | |
parent | e51c7a9ca4bfdb45fa3ec7334bd33871e78c68b1 (diff) | |
download | wordpress-mu-12de05107e4c8b006bde6ee8916f34eb476d08da.tar.gz wordpress-mu-12de05107e4c8b006bde6ee8916f34eb476d08da.tar.xz wordpress-mu-12de05107e4c8b006bde6ee8916f34eb476d08da.zip |
WP Merge with revision 8075
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1328 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-pass.php')
-rw-r--r-- | wp-pass.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/wp-pass.php b/wp-pass.php index da6b27e..9eb49d1 100644 --- a/wp-pass.php +++ b/wp-pass.php @@ -1,5 +1,13 @@ <?php -require( dirname(__FILE__) . '/wp-config.php'); +/** + * Creates the password cookie and redirects back to where the + * visitor was before. + * + * @package WordPress + */ + +/** Make sure that the WordPress bootstrap has ran before continuing. */ +require( dirname(__FILE__) . '/wp-load.php'); if ( get_magic_quotes_gpc() ) $_POST['post_password'] = stripslashes($_POST['post_password']); |