mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
4fca589936
commit
34994fca8b
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user