[wp-trac] Re: [WordPress Trac] #3152: WP_User->id, not WP_User->ID
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 21 21:08:25 GMT 2006
#3152: WP_User->id, not WP_User->ID
-------------------------+--------------------------------------------------
Reporter: alexkingorg | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Version: 2.1
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by ryan):
ID is set when we pull the users table data into the WP_User class. I'd
like to stick with uppercase ID since it is more widely used due to it
being in the table. How about adding var $ID = 0 to the WP_User class and
putting a comment next to $id noting that it is deprecated?
--
Ticket URL: <http://trac.wordpress.org/ticket/3152>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list