[wp-trac] [WordPress Trac] #40497: wp_insert_user requires user_login when ID is given

WordPress Trac noreply at wordpress.org
Sat Apr 29 13:15:12 UTC 2017


#40497: wp_insert_user requires user_login when ID is given
-----------------------------------+------------------------------
 Reporter:  johnprestonsoapmedia   |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Users                  |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:
-----------------------------------+------------------------------
Changes (by DJPaul):

 * keywords:  needs-patch 2nd-opinion => 2nd-opinion has-patch


Comment:

 Please see 40497.02.patch. This is definitely an interesting use of this
 function; removing the update logic is probably untenable, so the patch
 addresses the reported issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40497#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list