[wp-trac] [WordPress Trac] #28019: WP_User does not initialise data to a sane value
WordPress Trac
noreply at wordpress.org
Mon Jan 5 01:40:46 UTC 2015
#28019: WP_User does not initialise data to a sane value
--------------------------+---------------------
Reporter: rmccue | Owner: dd32
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Users | Version:
Severity: minor | Resolution: fixed
Keywords: | Focuses:
--------------------------+---------------------
Changes (by dd32):
* owner: => dd32
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31049"]:
{{{
#!CommitTicketReference repository="" revision="31049"
Preinitialize WP_User::$data to an object in the event an empty user
object is created. Avoids a "Creating default object from empty value" PHP
Warning.
Fixes #28019
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28019#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list