[wp-trac] [WordPress Trac] #41955: bug with wp_delete_user() and clean_user_cache()
WordPress Trac
noreply at wordpress.org
Fri Sep 22 12:58:03 UTC 2017
#41955: bug with wp_delete_user() and clean_user_cache()
----------------------------+-----------------------------
Reporter: Cyrille37 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.8.2
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41955>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list