Option to use name, in additon to slug and id in get_term_link() function
|Reported by:||sudar||Owned by:|
|Severity:||normal||Keywords:||taxonomy, get_term_link, has-patch|
Right now the get_term_link() function (in wp-includes/taxonomy.php) can be used only with either term id or term slug.
It would be useful to provide an option to add name in addition to term id and slug.
This function inturn uses get_term_by() function and it has the option to provide term name, but the get_term_link() function doesn't have a way to do this.
Change History (7)
- Milestone changed from Awaiting Review to 3.1
- Priority changed from normal to low