[wp-trac] [WordPress Trac] #36946: Provide `id` properties on core objects

WordPress Trac noreply at wordpress.org
Fri May 27 00:24:43 UTC 2016

#36946: Provide `id` properties on core objects
 Reporter:  jeremyfelt    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:

Comment (by jb510):

 I was going to +1 ID, but the slack log convinced me otherwise...

 Is it worth discussing function and hook names at the same time?
 get_the_ID(), the_ID(), get_author_user_ids, get_current_blog_id().

 Seems like it's only the oldest of functions using ID.

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

More information about the wp-trac mailing list