From 44caa31796bb6af4945b1facdd9e4c64d090ed89 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 20 Feb 2009 23:31:46 +0000 Subject: [PATCH] Force term ID to be an int. Props filosofo. fixes #9193 git-svn-id: http://svn.automattic.com/wordpress/trunk@10613 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 1f814bcf68..d84e016dac 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -573,7 +573,7 @@ function wp_tag_cloud( $args = '' ) { if ( 'edit' == $args['link'] ) $link = get_edit_tag_link( $tag->term_id, $args['taxonomy'] ); else - $link = get_term_link( $tag->term_id, $args['taxonomy'] ); + $link = get_term_link( intval($tag->term_id), $args['taxonomy'] ); if ( is_wp_error( $link ) ) return false;