From f6c4b8e0457aa36db58ebc7b1ac297b8c71a62ee Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Wed, 11 May 2016 21:03:44 +0800 Subject: [PATCH] Remove notices --- core/um-actions-login.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/um-actions-login.php b/core/um-actions-login.php index aaac4abc..2c300356 100644 --- a/core/um-actions-login.php +++ b/core/um-actions-login.php @@ -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') );