Pinking shears.
Built from https://develop.svn.wordpress.org/trunk@34534 git-svn-id: http://core.svn.wordpress.org/trunk@34498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -107,12 +107,12 @@ function edit_user( $user_id = 0 ) {
|
||||
/* checking that username has been typed */
|
||||
if ( $user->user_login == '' )
|
||||
$errors->add( 'user_login', __( '<strong>ERROR</strong>: Please enter a username.' ) );
|
||||
|
||||
|
||||
/* checking that nickname has been typed */
|
||||
if ( $update && empty( $user->nickname ) ) {
|
||||
$errors->add( 'nickname', __( '<strong>ERROR</strong>: Please enter a nickname.' ) );
|
||||
if ( $update && empty( $user->nickname ) ) {
|
||||
$errors->add( 'nickname', __( '<strong>ERROR</strong>: Please enter a nickname.' ) );
|
||||
}
|
||||
|
||||
|
||||
/* checking the password has been typed twice */
|
||||
/**
|
||||
* Fires before the password and confirm password fields are checked for congruity.
|
||||
@@ -515,4 +515,4 @@ this email. This invitation will expire in a few days.
|
||||
|
||||
Please click the following link to activate your user account:
|
||||
%%s' ), get_bloginfo( 'name' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user