Remove notices

This commit is contained in:
champsupertramp
2016-05-11 21:03:44 +08:00
parent aa5691ac98
commit f6c4b8e045
+4 -2
View File
@@ -9,8 +9,10 @@
$is_email = false;
$form_id = $args['form_id'];
$mode = $args['mode'];
$form_id = $args['form_id'];
$mode = $args['mode'];
$user_password = $args['user_password'];
if ( isset( $args['username'] ) && $args['username'] == '' ) {
$ultimatemember->form->add_error( 'username', __('Please enter your username or email','ultimatemember') );