mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- added expiration for the um_count_users_unassigned transient for the checking everyday the users who don't have the account_status meta (registered 3rd-party way);
This commit is contained in:
@@ -296,7 +296,7 @@ KEY meta_value_indx (um_value(191))
|
||||
$result = $users->get_results();
|
||||
}
|
||||
|
||||
set_transient( 'um_count_users_unassigned', $result );
|
||||
set_transient( 'um_count_users_unassigned', $result, DAY_IN_SECONDS );
|
||||
}
|
||||
|
||||
if ( empty( $result ) ) {
|
||||
|
||||
Reference in New Issue
Block a user