Opened 12 years ago
Closed 12 years ago
#28019 closed defect (bug) (fixed)
WP_User does not initialise data to a sane value
| Reported by: | rmccue | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Users | Version: | |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 31049: