Opened 10 years ago
Closed 9 years ago
#28004 closed defect (bug) (fixed)
wp_insert_user() updates usermeta table when user ID does not exist
Reported by: | bilalcoder | Owned by: | swissspidy |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Users | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
wp_insert_user()
doesn't care if the user exists in the database when updating.
Attachments (2)
Change History (8)
#5
@
9 years ago
- Keywords has-unit-tests added; needs-refresh needs-unit-tests removed
28004.diff is an updated patch against trunk that also includes a user test. I updated the error message to use an already existing string.
Note: See
TracTickets for help on using
tickets.
Needs a refresh after splitting up the
user.php
file.