Skip to content

Commit

Permalink
Tweak - Notification to only email verification resend users.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhea-son committed Apr 11, 2024
1 parent d265273 commit 5dedd05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/js/frontend/user-registration-form-validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(function ($) {
var user_registration_form_selector;

user_registration_form_selector = $(".ur-frontend-form form, form.cart, form.checkout");
user_registration_form_selector = $(".ur-frontend-form form, form.cart");

var field_selector = "";

Expand Down
4 changes: 2 additions & 2 deletions includes/admin/class-ur-admin-user-list-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ public function add_bulk_actions() {
.appendTo(
"select[name='action']");
jQuery('<option>').val('await_confirmation').text(
'<?php esc_html_e( 'Awaiting Email Confirmation', 'user-registration' ); ?>')
'<?php esc_html_e( 'Resend Verification Email', 'user-registration' ); ?>')
.appendTo(
"select[name='action2']");
});
Expand Down Expand Up @@ -612,8 +612,8 @@ public function trigger_bulk_action() {
$status = $user_manager->is_email_pending();
if( $status ) {
ur_resend_verification_email( $id );
$redirect = add_query_arg( array( 'resend_verification_sent' => 1 ), $redirect );
}
$redirect = add_query_arg( array( 'resend_verification_sent' => 1 ), $redirect );
} else {
$user_manager = new UR_Admin_User_Manager( $id );
// For each user, check if the current user can change him status.
Expand Down
2 changes: 1 addition & 1 deletion user-registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Drag and Drop user registration form and login form builder.
* Version: 3.2.0
* Author: WPEverest
* Author URI: https://wpeverest.com
* Author URI: https://wpuserregistration.com
* Text Domain: user-registration
* Domain Path: /languages/
*
Expand Down

0 comments on commit 5dedd05

Please sign in to comment.