[wp-trac] [WordPress Trac] #24636: WP_User has no method to access WP_User->data
WordPress Trac
noreply at wordpress.org
Mon Jun 24 08:23:58 UTC 2013
#24636: WP_User has no method to access WP_User->data
--------------------------+-----------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: trunk
Severity: normal | Keywords: needs-patch
--------------------------+-----------------------------
While working on #24635 I noticed that the WP_User class doesn't have a
method to access the data field, while it has magic getters and setters,
plus a to_array() method.
It seems appropriate that we should have a getter for the entire data
object to go along with them.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24636>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list