WordPress.org

Make WordPress Core

Changeset 21362


Ignore:
Timestamp:
07/30/12 16:13:18 (3 years ago)
Author:
ryan
Message:

s/newuserconfimation/newuserconfirmation/

Props Jayjdk, lesteph
fixes #21415

File:
1 edited

Legend:

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

    r21316 r21362  
    7575            $newuser_key = substr( md5( $user_id ), 0, 5 ); 
    7676            add_option( 'new_user_' . $newuser_key, array( 'user_id' => $user_id, 'email' => $user_details->user_email, 'role' => $_REQUEST[ 'role' ] ) ); 
    77              
     77 
    7878            $roles = get_editable_roles(); 
    7979            $role = $roles[ $_REQUEST['role'] ]; 
     
    128128                $redirect = add_query_arg( array('update' => 'addnoconfirmation'), 'user-new.php' ); 
    129129            } else { 
    130                 $redirect = add_query_arg( array('update' => 'newuserconfimation'), 'user-new.php' ); 
     130                $redirect = add_query_arg( array('update' => 'newuserconfirmation'), 'user-new.php' ); 
    131131            } 
    132132            wp_redirect( $redirect ); 
     
    195195    if ( is_multisite() ) { 
    196196        switch ( $_GET['update'] ) { 
    197             case "newuserconfimation": 
     197            case "newuserconfirmation": 
    198198                $messages[] = __('Invitation email sent to new user. A confirmation link must be clicked before their account is created.'); 
    199199                break; 
Note: See TracChangeset for help on using the changeset viewer.