Changeset 17437 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 02/10/2011 08:17:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r17372 r17437 2816 2816 * @param object|int|string $term 2817 2817 * @param string $taxonomy (optional if $term is object) 2818 * @return string |WP_Error HTML link to taxonomy term archive on success, WP_Errorif term does not exist.2818 * @return string HTML link to taxonomy term archive on success, empty string if term does not exist. 2819 2819 */ 2820 2820 function get_term_link( $term, $taxonomy = '') { … … 2833 2833 2834 2834 if ( is_wp_error( $term ) ) 2835 return $term;2835 return ''; 2836 2836 2837 2837 $taxonomy = $term->taxonomy;
Note: See TracChangeset
for help on using the changeset viewer.