WordPress.org

Make WordPress Core

Changeset 14060


Ignore:
Timestamp:
04/10/10 13:05:04 (5 years ago)
Author:
dd32
Message:

Password nag should be a global user option. Fixes #12926

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r13974 r14060  
    6868        $message = __('<strong><em>Note that password</em></strong> carefully! It is a <em>random</em> password that was generated just for you.'); 
    6969        $user_id = wp_create_user($user_name, $user_password, $user_email); 
    70         update_user_option($user_id, 'default_password_nag', true); 
     70        update_user_option($user_id, 'default_password_nag', true, true); 
    7171        $email_password = true; 
    7272    } else if ( !$user_id ) { 
Note: See TracChangeset for help on using the changeset viewer.