Opened 12 years ago
Closed 12 years ago
#31097 closed defect (bug) (fixed)
wp_update_user() - PHP notice when ID not specified.
| Reported by: | tyxla | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Users | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Related: #23005, #25745, #16731, #17009