Make WordPress Core

Opened 4 years ago

Last modified 15 months 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 needs-refresh needs-unit-tests
Focuses: administration Cc:


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 (1)

37818.patch (2.0 KB) - added by grapplerulrich 4 years ago.

Download all attachments as: .zip

Change History (3)

#1 @grapplerulrich
4 years ago

  • Keywords has-patch added

#2 @desrosj
15 months ago

  • Keywords needs-refresh needs-unit-tests added
  • Milestone changed from Awaiting Review to Future Release

37818.patch needs to be refreshed. This also would need some unit tests.

Note: See TracTickets for help on using tickets.