From 1bdf7fb263c1002ad38d716ceeed63146ce411cc Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 20 Apr 2006 22:08:37 +0000 Subject: [PATCH] Assume an action of resetpass if key is given. git-svn-id: http://svn.automattic.com/wordpress/trunk@3732 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-login.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-login.php b/wp-login.php index 95ecb51502..67df9c57be 100644 --- a/wp-login.php +++ b/wp-login.php @@ -4,6 +4,9 @@ require( dirname(__FILE__) . '/wp-config.php' ); $action = $_REQUEST['action']; $error = ''; +if ( isset($_GET['key']) ) + $action = 'resetpass'; + nocache_headers(); header('Content-Type: '.get_bloginfo('html_type').'; charset='.get_bloginfo('charset'));