Opened 12 years ago
Closed 11 years ago
#28019 closed defect (bug) (fixed)
WP_User does not initialise data to a sane value
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.2 | Priority: | normal |
| Severity: | minor | Version: | |
| Component: | Users | Keywords: | |
| Focuses: | Cc: |
Description (last modified by )
If I do new WP_User(), I'd expect to be able to do things like $user->user_login = "x" without causing an error. However, the $data property used internally is not initialised to an empty object, causing a "Creating default object from empty value" error.
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 31049: