diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php index 5c304072ed5d8..cd8304f24fdc0 100644 --- a/src/wp-includes/category-template.php +++ b/src/wp-includes/category-template.php @@ -976,7 +976,7 @@ function wp_generate_tag_cloud( $tags, $args = '' ) { $tags_data[] = array( 'id' => $tag_id, - 'url' => ( '#' !== $tag->link ) ? $tag->link : '#', + 'url' => $tag->link, 'role' => ( '#' !== $tag->link ) ? '' : ' role="button"', 'name' => $tag->name, 'formatted_count' => $formatted_count,