Skip to content

Commit f278175

Browse files
committed
fix php notice Undefined array key "form_title"
1 parent 806002a commit f278175

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

assets/js/users-wp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ function uwp_modal_login_form_process(){
447447
}
448448

449449
}else if(data.success===false){
450-
jQuery('.uwp-auth-modal .modal-content .modal-error').html(data.data);
450+
jQuery('.uwp-auth-modal .modal-content .modal-error').html(data.data.message);
451451
jQuery('.uwp-auth-modal .modal-content .uwp_login_submit').html($button_text).prop('disabled', false);// enable submit
452452
uwp_maybe_reset_recaptcha();
453453
}

0 commit comments

Comments
 (0)