Force term ID to be an int. Props filosofo. fixes #9193

git-svn-id: https://develop.svn.wordpress.org/trunk@10613 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-02-20 23:31:46 +00:00
parent 4fca589936
commit 34994fca8b

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;