Opened 10 months ago
#21495 new defect (bug)
wp_insert_user allows a user to be created with empty passwords
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Users | Version: | |
| Severity: | minor | Keywords: | |
| Cc: |
Description
While looking at the different files where user information is created, I noticed that there are some differences between wp_insert_user(programmatic creation of users) and edit_user (called from the admin).
wp_insert_user assumes that a user_pass parameter is included, which creates a user with no password.
Attachments (3)
Change History (3)
Note: See
TracTickets for help on using
tickets.

Now checking for empty (or undefined) passwords in wp_create_user