Changes between Initial Version and Version 1 of Ticket #28019
- Timestamp:
- 04/25/2014 01:54:54 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28019 – Description
initial v1 1 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 array, causing a "Creating default object from empty value" error.1 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.