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-admin/network/site-new.php

    r33082 r33620  
    8080            wp_die( __( 'There was an error creating the user.' ) );
    8181        else
    82             wp_new_user_notification( $user_id, $password );
     82            wp_new_user_notification( $user_id, 'both' );
    8383    }
    8484
Note: See TracChangeset for help on using the changeset viewer.