wp_update_user() does not check the return of get_userdata() before calling to_array()
|Reported by:||ryan||Owned by:||nacin|
get_userdata() can return false, resulting in "Call to a member function to_array() on a non-object" when to_array() is called. This is triggered very rarely, but it does happen.
Change History (17)
- Cc lukbarros removed
- Severity changed from normal to trivial
comment:11 nacin — 15 months ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed
Note: See TracTickets for help on using tickets.