Make WordPress Core

Changeset 10613


Ignore:
Timestamp:
02/20/2009 11:31:46 PM (18 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category-template.php

    r10606 r10613  
    574574                        $link = get_edit_tag_link( $tag->term_id, $args['taxonomy'] );
    575575                else
    576                         $link = get_term_link( $tag->term_id, $args['taxonomy'] );
     576                        $link = get_term_link( intval($tag->term_id), $args['taxonomy'] );
    577577                if ( is_wp_error( $link ) )
    578578                        return false;
Note: See TracChangeset for help on using the changeset viewer.