[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 Jul 1 12:51:37 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:
-------------------------+---------------------------

Comment (by boonebgorges):

 I don't feel strongly about it. I agree that it introduces some
 inconsistency in function interfaces, and I agree that the workaround
 (looking up a term with `get_term_by()` before fetching the term link) is
 far from onerous. Let's revert.

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


More information about the wp-trac mailing list