[wp-trac] [WordPress Trac] #33800: wp_delete_user delete the user ID 1 if an object is passed in param

WordPress Trac noreply at wordpress.org
Fri Sep 11 02:21:42 UTC 2015


#33800: wp_delete_user delete the user ID 1 if an object is passed in param
--------------------------+------------------
 Reporter:  juliobox      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.4
Component:  Users         |     Version:  2.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by dipesh.kakadiya):

 @boonebgorges

 As you suggest, I updated patch and unittest for `test_delete_user` is
 already existed inside 'tests/phpunit/tests/user.php' so I wrote my test
 case below `test_delete_user`.

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


More information about the wp-trac mailing list