#9309 closed defect (bug) (fixed)
Notice: Undefined variable: user in /wp-admin/includes/user.php on line 397
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.7.2 | Priority: | normal |
Severity: | minor | Version: | 2.7.1 |
Component: | Administration | Keywords: | has-patch, needs-testing |
Focuses: | Cc: |
Description
if WP_DEBUG is on (and therefore E_NOTICE is also on), you get the above error when confirming the deletion of a user.
I presume the error is caused because of a missing
$user = new WP_User($id);
at the beginning of the function
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [10760]) Create user object. Props mark8barnes. fixes #9309 for trunk