[wp-trac] [WordPress Trac] #3152: WP_User->ID, not WP_User->id

WordPress Trac noreply at wordpress.org
Sun Feb 11 07:07:52 UTC 2024


#3152: WP_User->ID, not WP_User->id
--------------------------+---------------------
 Reporter:  alexkingorg   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.1
Component:  General       |     Version:  2.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by nancycrh44ek):

 Did you fix several references to `WP_User->ID`, changing them to
 `WP_User->id`, since `id` is a lowercase variable in this class?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/3152#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list