Ticket #33310: 33310.diff
File 33310.diff, 674 bytes (added by , 9 years ago) |
---|
-
user.php
107 107 /* checking that username has been typed */ 108 108 if ( $user->user_login == '' ) 109 109 $errors->add( 'user_login', __( '<strong>ERROR</strong>: Please enter a username.' ) ); 110 110 111 /* checking that nickname has been typed */ 112 if ( $update && empty( $user->nickname ) ) { 113 $errors->add( 'nickname', __( '<strong>ERROR</strong>: Please enter a nickname.' ) ); 114 } 115 111 116 /* checking the password has been typed twice */ 112 117 /** 113 118 * Fires before the password and confirm password fields are checked for congruity.