Changeset 12983 for trunk/wp-login.php
- Timestamp:
- 02/06/2010 06:20:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r12981 r12983 243 243 244 244 wp_set_password($new_pass, $user->ID); 245 update_user meta($user->ID, 'default_password_nag', true); //Set up the Password change nag.245 update_user_option($user_ID, 'default_password_nag', true, true); //Set up the Password change nag. 246 246 $message = sprintf(__('Username: %s'), $user->user_login) . "\r\n"; 247 247 $message .= sprintf(__('Password: %s'), $new_pass) . "\r\n";
Note: See TracChangeset
for help on using the changeset viewer.