[wp-trac] [WordPress Trac] #60379: Deleted users still show in count?

WordPress Trac noreply at wordpress.org
Tue Jan 30 12:57:37 UTC 2024


#60379: Deleted users still show in count?
-------------------------------------+-------------------------------------
 Reporter:  inder93                  |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Database                 |    Version:  6.4.2
 Severity:  critical                 |   Keywords:  needs-refresh needs-
  Focuses:  ui, administration,      |  testing
  multisite, coding-standards        |
-------------------------------------+-------------------------------------
 I had around 6000 users on my multisite network. I deleted 4500 users
 directly from database with these SQL queries.

 DELETE from wp_users where ID IN (1,2,3,....);
 DELETE from wp_usermeta where user_id IN (1,2,3,....);

 I checked from database, users are deleted successfully but in WordPress
 dashboard it still showing 6000 counts. When I search deleted user, it's
 not showing I think there is an issue with user count please let me know
 how to fix this.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60379>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list