Changeset 50981 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 05/24/2021 07:58:13 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r49764 r50981 89 89 $message = __( '<strong><em>Note that password</em></strong> carefully! It is a <em>random</em> password that was generated just for you.' ); 90 90 $user_id = wp_create_user( $user_name, $user_password, $user_email ); 91 update_user_ option( $user_id, 'default_password_nag', true, true );91 update_user_meta( $user_id, 'default_password_nag', true ); 92 92 $email_password = true; 93 93 $user_created = true;
Note: See TracChangeset
for help on using the changeset viewer.