diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 6aa27db6b7..ab89167d56 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -386,7 +386,7 @@ function get_tag_link( $tag_id ) { $tag = &get_term($tag_id, 'post_tag'); $slug = $tag->slug; - if ( empty($catlink) ) { + if ( empty($taglink) ) { $file = get_option('home') . '/'; $taglink = $file . '?tag=' . $slug; } else {