mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix user meta key for registration progress handling
Updated the user meta key from `um_registration_in_progress` to `_um_registration_in_progress` across multiple files for consistency and proper functionality. This change ensures accurate checking and handling of users in the registration process.
This commit is contained in:
@@ -62,7 +62,7 @@ if ( ! class_exists( 'um\common\actions\Users' ) ) {
|
||||
|
||||
/**
|
||||
* Perform batch checking for users based on specific conditions.
|
||||
* Ignore users with `um_registration_in_progress` that can be in the process of the registration.
|
||||
* Ignore users with `_um_registration_in_progress` that can be in the process of the registration.
|
||||
* Get users with empty `account_status` meta.
|
||||
*
|
||||
* @param int $page The current page number.
|
||||
@@ -79,11 +79,11 @@ if ( ! class_exists( 'um\common\actions\Users' ) ) {
|
||||
array(
|
||||
'relation' => 'OR',
|
||||
array(
|
||||
'key' => 'um_registration_in_progress',
|
||||
'key' => '_um_registration_in_progress',
|
||||
'compare' => 'NOT EXISTS',
|
||||
),
|
||||
array(
|
||||
'key' => 'um_registration_in_progress',
|
||||
'key' => '_um_registration_in_progress',
|
||||
'value' => '1',
|
||||
'compare' => '!=',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user