[wp-trac] [WordPress Trac] #41950: wp_insert_user() should accept a meta_input argument

WordPress Trac noreply at wordpress.org
Fri Sep 22 02:58:34 UTC 2017


#41950: wp_insert_user() should accept a meta_input argument
-------------------------+-----------------------------
 Reporter:  desrosj      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Users        |    Version:  2.0
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:               |
-------------------------+-----------------------------
 `wp_insert_user()` does insert user meta, but only meta generated by the
 function (`nickname`, `first_name`, etc.), or added to that list by using
 the `insert_user_meta` filter.

 It would be nice to be able to pass the additional meta to the function
 when called, like in `wp_insert_post()`.

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


More information about the wp-trac mailing list