Changeset 3985 for trunk/wp-login.php
- Timestamp:
- 07/05/2006 10:00:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-login.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r3972 r3985 99 99 100 100 if (!$user_email || $user_email != $_POST['email']) 101 die(sprintf(__('Sorry, that user does not seem to exist in our database. Perhaps you have the wrong username or e-mail address? <a href="%s">Try again</a>.'), 'wp-login.php?action=lostpassword'));101 wp_die(sprintf(__('Sorry, that user does not seem to exist in our database. Perhaps you have the wrong username or e-mail address? <a href="%s">Try again</a>.'), 'wp-login.php?action=lostpassword')); 102 102 103 103 do_action('retreive_password', $user_login); // Misspelled and deprecated. … … 133 133 $key = preg_replace('/a-z0-9/i', '', $_GET['key']); 134 134 if ( empty($key) ) 135 die( __('Sorry, that key does not appear to be valid.') );135 wp_die( __('Sorry, that key does not appear to be valid.') ); 136 136 $user = $wpdb->get_row("SELECT * FROM $wpdb->users WHERE user_activation_key = '$key'"); 137 137 if ( !$user ) 138 die( __('Sorry, that key does not appear to be valid.') );138 wp_die( __('Sorry, that key does not appear to be valid.') ); 139 139 140 140 do_action('password_reset');
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)