Opened 8 years ago
Last modified 4 years ago
#37818 new enhancement
Suggested import id for wp_insert_user
Reported by: | grapplerulrich | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 2.0 |
Component: | Import | Keywords: | has-patch has-unit-tests |
Focuses: | administration | Cc: |
Description
I would like to import users and would like to keep the previous user ids.
In wp_insert_post()
I can define the import_id
and that is the ID that is used if it does not yet exist.
By adding the same parameter to wp_insert_user()
would allow us to suggest an ID.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
37818.patch needs to be refreshed. This also would need some unit tests.