#26274 closed defect (bug) (fixed)
Use get_current_user_id() instead of $user_ID in wp-admin/user-edit.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Users | Keywords: | has-patch |
| Focuses: | administration | Cc: |
Description
I spent around an hour trying to figure out the difference between the user_id and the checkuser_id fields in user-edit.php, and then it hit me -- the latter uses the $user_ID global, with the uppercase ID, while everything else in the file uses $user_id which is the ID of the user being edited. What a nightmare!
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 27069: