[wp-trac] [WordPress Trac] #24636: WP_User has no method to access WP_User->data
WordPress Trac
noreply at wordpress.org
Mon Oct 7 15:06:22 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: 3.5
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by barrykooij):
* keywords: needs-patch => has-patch
Comment:
Added get_data method, in my opinion it's always better to user
getters/setters than public properties.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24636#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list