WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/15/2010 04:04:19 PM (8 years ago)
Author:
ryan
Message:

Skip confirmation email fixes. Props ocean90, duck_. see #15725

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-new.php

    r16569 r16949  
    109109            }
    110110            wpmu_signup_user( $new_user_login, $_REQUEST[ 'email' ], array( 'add_to_blog' => $wpdb->blogid, 'new_role' => $_REQUEST[ 'role' ] ) );
    111             if ( isset( $_POST[ 'adduser' ] ) && isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) {
     111            if ( isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) {
    112112                $key = $wpdb->get_var( $wpdb->prepare( "SELECT activation_key FROM {$wpdb->signups} WHERE user_login = %s AND user_email = %s", $new_user_login, $_REQUEST[ 'email' ] ) );
    113113                wpmu_activate_signup( $key );
Note: See TracChangeset for help on using the changeset viewer.