Make WordPress Core


Ignore:
Timestamp:
08/17/2015 02:24:43 PM (10 years ago)
Author:
obenland
Message:

Passwords: Restore second parameter for wp_new_user_notification().

After [33023] users would always be notified, this restores previous behavior.

Props markjaquith, ocean90.
Fixes #33358.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r33486 r33620  
    26202620    update_user_option( $user_id, 'default_password_nag', true, true ); //Set up the Password change nag.
    26212621
    2622     wp_new_user_notification( $user_id );
     2622    wp_new_user_notification( $user_id, 'both' );
    26232623
    26242624    return $user_id;
Note: See TracChangeset for help on using the changeset viewer.