[wp-trac] [WordPress Trac] #28315: update_user_meta() updates user with ID1 if WP_Error is passed as first argument

WordPress Trac noreply at wordpress.org
Fri Jun 27 22:09:20 UTC 2014


#28315: update_user_meta() updates user with ID1 if WP_Error is passed as first
argument
--------------------------------+--------------------
 Reporter:  javorszky           |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  4.0
Component:  Options, Meta APIs  |     Version:  3.9.1
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |     Focuses:
--------------------------------+--------------------
Changes (by wonderboymusic):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => 4.0


Comment:

 There should be validation after `wp_insert_user()`

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


More information about the wp-trac mailing list