diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php
index 302aa03..a19d4ac 100644
a
|
b
|
function walk_category_dropdown_tree() { |
1065 | 1065 | * @return string Link on success, empty string if tag does not exist. |
1066 | 1066 | */ |
1067 | 1067 | function get_tag_link( $tag ) { |
1068 | | if ( ! is_object( $tag ) ) |
1069 | | $tag = (int) $tag; |
1070 | | |
1071 | | $tag = get_term_link( $tag, 'post_tag' ); |
1072 | | |
1073 | | if ( is_wp_error( $tag ) ) |
1074 | | return ''; |
1075 | | |
1076 | | return $tag; |
| 1068 | return get_category_link( $tag ); |
1077 | 1069 | } |
1078 | 1070 | |
1079 | 1071 | /** |