mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 03:36:28 +09:00
Fix users queue count after user deletion
This commit is contained in:
@@ -68,7 +68,7 @@ class UM_Admin_Dashboard {
|
||||
*/
|
||||
function get_pending_users_count() {
|
||||
|
||||
if ( get_option('um_cached_users_queue') > 0 ) {
|
||||
if ( get_option('um_cached_users_queue') > 0 && ! isset( $_REQUEST['delete_count'] ) ) {
|
||||
return get_option('um_cached_users_queue');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user