[wp-trac] [WordPress Trac] #36946: Provide `id` properties on core objects
WordPress Trac
noreply at wordpress.org
Thu May 26 00:59:48 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 jeremyfelt):
Replying to [comment:1 DrewAPicture]:
> My vote would be on standardizing on '''ID''' as it's actually the
abbreviation for ''identifier'' and is what we (correctly) use all over
the place in inline docs.
>
> 'id' makes me think of Freud. :-)
Here's the [https://wordpress.slack.com/archives/core/p1464211408007002
related discussion from today's core meeting]. Hopefully to sway you a
bit. :)
Also worth noting that the WP REST API team is using `id` in responses for
core objects.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36946#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list