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:
Mykyta Synelnikov
2025-04-15 14:54:44 +03:00
parent 5356148cc4
commit 820ef35104
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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' => '!=',
),