[wp-trac] [WordPress Trac] #60379: Deleted users still show in count?
WordPress Trac
noreply at wordpress.org
Tue Jan 30 13:00:15 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 | Resolution:
Keywords: needs-refresh needs- | Focuses: ui, administration,
testing | multisite, coding-standards
-------------------------------------+-------------------------------------
Comment (by spacedmonkey):
Hello @inder93.
It is not recommended to delete database tables directly. You should call
`wp_delete_site` directly. There are a number of caches that are cleared
when calling this function. To fix your issue, I would flush object caches
or maybe call `clean_blog_cache`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60379#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list