[wp-trac] [WordPress Trac] #14156: Option to use name, in additon to slug and id in get_term_link() function

WordPress Trac noreply at wordpress.org
Wed Jun 3 22:21:15 UTC 2015


#14156: Option to use name, in additon to slug and id in get_term_link() function
-------------------------+---------------------------
 Reporter:  sudar        |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  reopened
 Priority:  low          |   Milestone:  4.3
Component:  Taxonomy     |     Version:  3.0
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |     Focuses:
-------------------------+---------------------------
Changes (by johnbillion):

 * keywords:  has-patch => 2nd-opinion
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I'm a little concerned that this introduces yet more inconsistency with
 regard to which term functions accept which values for their `$term`
 argument. This is now the only term function apart from `get_term_by()`
 which accepts a `$field` argument.

 Should we add the `$field` parameter to `get_term_feed_link()`,
 `get_edit_term_link()` or other term functions too?

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


More information about the wp-trac mailing list