Ticket #16282: 16282.3.patch
| File 16282.3.patch, 939 bytes (added by scribu, 2 years ago) |
|---|
-
wp-includes/taxonomy.php
2813 2813 * @uses apply_filters() For the post_tag Taxonomy, Calls 'tag_link' with tag link and tag ID as parameters. 2814 2814 * @uses apply_filters() For the category Taxonomy, Calls 'category_link' filter on category link and category ID. 2815 2815 * 2816 * @param object|int|string $term 2817 * @param string $taxonomy (optional if $term is object)2818 * @return string|WP_Error HTML link to taxonomy term archive on success, WP_Error if term does not exist.2816 * @param object|int|string $term Term object, term_id or slug. 2817 * @param string $taxonomy Optional if $term is object. 2818 * @return string|WP_Error URL to taxonomy term archive on success, WP_Error if term not found. 2819 2819 */ 2820 2820 function get_term_link( $term, $taxonomy = '') { 2821 2821 global $wp_rewrite;