Opened 12 years ago
Closed 11 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Users | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
Description
wp_insert_user() doesn't care if the user exists in the database when updating.
Attachments (2)
Change History (8)
#5
@
11 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Needs a refresh after splitting up the
user.phpfile.