Permalink
Browse files

s/newuserconfimation/newuserconfirmation/

Props Jayjdk, lesteph
fixes #21415


git-svn-id: http://core.svn.wordpress.org/trunk@21362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 4ca78e5 commit 104b50cf5824c30986633e55874b72bd8eb81948 ryan committed Jul 30, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 wp-admin/user-new.php
View
@@ -74,7 +74,7 @@ function admin_created_user_subject( $text ) {
} else {
$newuser_key = substr( md5( $user_id ), 0, 5 );
add_option( 'new_user_' . $newuser_key, array( 'user_id' => $user_id, 'email' => $user_details->user_email, 'role' => $_REQUEST[ 'role' ] ) );
-
+
$roles = get_editable_roles();
$role = $roles[ $_REQUEST['role'] ];
/* translators: 1: Site name, 2: site URL, 3: role, 4: activation URL */
@@ -127,7 +127,7 @@ function admin_created_user_subject( $text ) {
wpmu_activate_signup( $key );
$redirect = add_query_arg( array('update' => 'addnoconfirmation'), 'user-new.php' );
} else {
- $redirect = add_query_arg( array('update' => 'newuserconfimation'), 'user-new.php' );
+ $redirect = add_query_arg( array('update' => 'newuserconfirmation'), 'user-new.php' );
}
wp_redirect( $redirect );
die();
@@ -194,7 +194,7 @@ function admin_created_user_subject( $text ) {
$messages = array();
if ( is_multisite() ) {
switch ( $_GET['update'] ) {
- case "newuserconfimation":
+ case "newuserconfirmation":
$messages[] = __('Invitation email sent to new user. A confirmation link must be clicked before their account is created.');
break;
case "add":

0 comments on commit 104b50c

Please sign in to comment.