diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php
index d240740ff2..aedc841fe1 100644
a
|
b
|
function get_term_link( $term, $taxonomy = '' ) { |
4266 | 4266 | * Filters the tag link. |
4267 | 4267 | * |
4268 | 4268 | * @since 2.3.0 |
4269 | | * @deprecated 2.5.0 Use {@see 'term_link'} instead. |
4270 | 4269 | * |
4271 | 4270 | * @param string $termlink Tag link URL. |
4272 | 4271 | * @param int $term_id Term ID. |
4273 | 4272 | */ |
4274 | | $termlink = apply_filters_deprecated( 'tag_link', array( $termlink, $term->term_id ), '2.5.0', 'term_link' ); |
| 4273 | $termlink = apply_filters( 'tag_link', $termlink, $term->term_id ); |
4275 | 4274 | } elseif ( 'category' === $taxonomy ) { |
4276 | 4275 | |
4277 | 4276 | /** |
4278 | 4277 | * Filters the category link. |
4279 | 4278 | * |
4280 | 4279 | * @since 1.5.0 |
4281 | | * @deprecated 2.5.0 Use {@see 'term_link'} instead. |
4282 | 4280 | * |
4283 | 4281 | * @param string $termlink Category link URL. |
4284 | 4282 | * @param int $term_id Term ID. |
4285 | 4283 | */ |
4286 | | $termlink = apply_filters_deprecated( 'category_link', array( $termlink, $term->term_id ), '2.5.0', 'term_link' ); |
| 4284 | $termlink = apply_filters( 'category_link', $termlink, $term->term_id ); |
4287 | 4285 | } |
4288 | 4286 | |
4289 | 4287 | /** |