[wp-trac] [WordPress Trac] #20460: Notice with clean_user_cache when deleting a user
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 20 13:25:11 UTC 2012
#20460: Notice with clean_user_cache when deleting a user
--------------------------+------------------------------
Reporter: blueyed | Owner: duck_
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.4
Severity: minor | Resolution: fixed
Keywords: has-patch |
--------------------------+------------------------------
Comment (by blueyed):
This code should take into account that `WP_User->get_data_by` might
return false.
This would lead to a fatal error then with `$user->exists()` (where
`$user` is a non-object).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20460#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list