[wp-trac] [WordPress Trac] #14019: Introduce get_id_by_name()
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 29 22:58:14 UTC 2010
#14019: Introduce get_id_by_name()
-------------------------+--------------------------------------------------
Reporter: filosofo | Owner: filosofo
Type: enhancement | Status: accepted
Priority: normal | Milestone: 3.1
Component: Template | Version: 3.0
Severity: normal | Keywords: has-patch dev-feedback
-------------------------+--------------------------------------------------
Comment(by nacin):
Okay, understood. Missed the point about chaining.
(Aside: get_id_by_name() is very, um, nonspecific. I thought you were
referring to terms at first given that you started the ticket by talking
about terms.)
It seems like it solves a relatively minor use case, as it's just slightly
more code to get the ID from the object, and come 3.2 we'll be able to
chain all we want, so the function basically becomes moot 6 months after
it is introduced.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14019#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list