Ticket #47806: 47806.diff
File 47806.diff, 692 bytes (added by , 4 years ago) |
---|
-
src/wp-includes/taxonomy.php
4166 4166 * 4167 4167 * @param object|int|string $term The term object, ID, or slug whose link will be retrieved. 4168 4168 * @param string $taxonomy Optional. Taxonomy. Default empty. 4169 * @return string|WP_Error HTML link totaxonomy term archive on success, WP_Error if term does not exist.4169 * @return string|WP_Error URL of the taxonomy term archive on success, WP_Error if term does not exist. 4170 4170 */ 4171 4171 function get_term_link( $term, $taxonomy = '' ) { 4172 4172 global $wp_rewrite;