Opened 10 years ago
Closed 10 years ago
#31097 closed defect (bug) (fixed)
wp_update_user() - PHP notice when ID not specified.
Reported by: | tyxla | Owned by: | |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Users | Keywords: | has-patch |
Focuses: | Cc: |
Description
When using wp_update_user()
with no ID specified, a WP_Error
is thrown, indicating : Invalid User ID.
.
This is fine, however, a notice for invalid $userdata
array key ID
is still being thrown as well.
This appears to be a really old issue - I was able to encounter it in 3.1
.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Related: #23005, #25745, #16731, #17009