- 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:
Nikita Sinelnikov
2022-08-12 16:33:23 +03:00
parent 69321f0cb1
commit f4f84bbd7e
+1 -1
View File
@@ -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 ) ) {