[wp-trac] [WordPress Trac] #28004: wp_insert_user() updates usermeta table when user ID does not exist

WordPress Trac noreply at wordpress.org
Wed Oct 14 07:15:19 UTC 2015


#28004: wp_insert_user() updates usermeta table when user ID does not exist
--------------------------------------+-------------------------
 Reporter:  bilalcoder                |       Owner:  swissspidy
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.4
Component:  Users                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  has-patch needs-refresh needs-unit-tests => has-patch has-
     unit-tests


Comment:

 [attachment:28004.diff] is an updated patch against trunk that also
 includes a user test. I updated the error message to use an already
 existing string.

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


More information about the wp-trac mailing list