[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
Tue Jul 29 16:19:19 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:  closed
 Priority:  normal                   |   Milestone:
Component:  Options, Meta APIs       |     Version:  3.9.1
 Severity:  normal                   |  Resolution:  wontfix
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+----------------------
Changes (by DrewAPicture):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  4.0 =>


Comment:

 The onus is on the developer to ensure that the value type they're passing
 is the value type the receiving function or functions expect.

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


More information about the wp-trac mailing list