From cc88fc4d85e629866c1d5899c2302fe11226adb7 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 3 Apr 2013 03:55:05 +0000 Subject: [PATCH] Pass the tag object instead of just the tag ID to topic_count_text_callback. see [23741]. see #21198. git-svn-id: https://develop.svn.wordpress.org/trunk@23888 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/category-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index d9be6d1aa9..cfc0f2a231 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -671,7 +671,7 @@ function wp_generate_tag_cloud( $tags, $args = '' ) { $tag_link = '#' != $tag->link ? esc_url( $tag->link ) : '#'; $tag_id = isset($tags[ $key ]->id) ? $tags[ $key ]->id : $key; $tag_name = $tags[ $key ]->name; - $a[] = "$tag_name"; }