Changeset 29880
- Timestamp:
- 10/12/2014 01:10:21 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-new.php
r29233 r29880 127 127 if ( isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) { 128 128 add_filter( 'wpmu_signup_user_notification', '__return_false' ); // Disable confirmation email 129 add_filter( 'wpmu_welcome_user_notification', '__return_false' ); // Disable welcome email 129 130 } 130 131 wpmu_signup_user( $new_user_login, $_REQUEST[ 'email' ], array( 'add_to_blog' => $wpdb->blogid, 'new_role' => $_REQUEST[ 'role' ] ) );
Note: See TracChangeset
for help on using the changeset viewer.