[wp-trac] [WordPress Trac] #37818: Suggested import id for wp_insert_user

WordPress Trac noreply at wordpress.org
Thu Aug 25 03:47:57 UTC 2016


#37818: Suggested import id for wp_insert_user
----------------------------+-----------------------------
 Reporter:  grapplerulrich  |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Import          |    Version:  2.0
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37818>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list