mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@34534 602fd350-edb4-49c9-b593-d223f7449a82
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