[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
Sat May 23 18:28:24 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: closed
Priority: low | Milestone: Future Release
Component: Taxonomy | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"32553"]:
{{{
#!CommitTicketReference repository="" revision="32553"
Introduced `$field` argument to `get_term_link()`.
This new argument allows developers to specify which term field should be
matched by the value of the `$term` parameter (in particular, 'name' and
'term_taxonomy_id' are now supported).
Props sudar, mordauk.
Fixes #14156.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14156#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list