Opened 2 years ago
Closed 2 years ago
#15868 closed defect (bug) (fixed)
Undefined property: stdClass::$id in wp-admin\network\edit.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Users | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
Go to network/users and delete a user:
Notice: Undefined property: stdClass::$id in H:\xampplite\htdocs\wp\wp-admin\network\edit.php on line 61
Notice: Undefined property: stdClass::$id in H:\xampplite\htdocs\wp\wp-admin\network\edit.php on line 62
Attachments (1)
Change History (7)
- Keywords commit added
Patch works fine.
Replying to ocean90:
Maybe we can use wp_dropdown_user here?
We could, but not in 3.1
$user should be a WP_User object, no? According to the WP_User docs, $id should still be set (though deprecated, with ID being canonical). What am I missing?
Note: See
TracTickets for help on using
tickets.

Maybe we can use wp_dropdown_user here?