Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#15692 closed defect (bug) (fixed)

Notice in confirm_delete_users()

Reported by: ocean90's profile ocean90 Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: Warnings/Notices Keywords: has-patch
Focuses: Cc:

Description

Notice: Undefined property: WP_User::$user_id in /Users/Dominik/Sites/WordPress/Trunk/wp_ms/wp-admin/network/edit.php on line 60

Is should be $user->id. But we can remove it, because the in_array check with $allusers is enough, it includes all the ID's.

Attachments (1)

15692.patch (587 bytes) - added by ocean90 14 years ago.

Download all attachments as: .zip

Change History (2)

@ocean90
14 years ago

#1 @ryan
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16772]) Fix notice. Props ocean90. fixes #15692

Note: See TracTickets for help on using tickets.