s/newuserconfimation/newuserconfirmation/
Props Jayjdk, lesteph fixes #21415 git-svn-id: http://core.svn.wordpress.org/trunk@21362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4ca78e553d
commit
104b50cf58
|
@ -127,7 +127,7 @@ Please click the following link to confirm the invite:
|
||||||
wpmu_activate_signup( $key );
|
wpmu_activate_signup( $key );
|
||||||
$redirect = add_query_arg( array('update' => 'addnoconfirmation'), 'user-new.php' );
|
$redirect = add_query_arg( array('update' => 'addnoconfirmation'), 'user-new.php' );
|
||||||
} else {
|
} else {
|
||||||
$redirect = add_query_arg( array('update' => 'newuserconfimation'), 'user-new.php' );
|
$redirect = add_query_arg( array('update' => 'newuserconfirmation'), 'user-new.php' );
|
||||||
}
|
}
|
||||||
wp_redirect( $redirect );
|
wp_redirect( $redirect );
|
||||||
die();
|
die();
|
||||||
|
@ -194,7 +194,7 @@ if ( isset($_GET['update']) ) {
|
||||||
$messages = array();
|
$messages = array();
|
||||||
if ( is_multisite() ) {
|
if ( is_multisite() ) {
|
||||||
switch ( $_GET['update'] ) {
|
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.');
|
$messages[] = __('Invitation email sent to new user. A confirmation link must be clicked before their account is created.');
|
||||||
break;
|
break;
|
||||||
case "add":
|
case "add":
|
||||||
|
|
Loading…
Reference in New Issue