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
This commit is contained in:
ryan 2009-02-20 23:31:46 +00:00
parent 74b9642857
commit 44caa31796

View File

@ -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;