#41955 closed defect (bug) (invalid)
bug with wp_delete_user() and clean_user_cache()
Reported by: | Cyrille37 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.8.2 |
Component: | Users | Keywords: | |
Focuses: | administration | Cc: |
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.
Here is the code excerpt :