#41955 closed defect (bug) (invalid)
bug with wp_delete_user() and clean_user_cache()
| Reported by: | Cyrille37 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Users | Version: | 4.8.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | administration |
Description
Hi,
The function wp_delete_user() do it's job then at end call clean_user_cache().
But clean_user_cache() test if user exists and load it. If the user does not exists clean_user_cache() does not clear the user cache !!
So while the user is deleted from database, the cache keep it forever ...
Cheers.
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Here is the code excerpt :