Ticket #16469: 16469.diff
File 16469.diff, 434 bytes (added by , 14 years ago) |
---|
-
wp-includes/taxonomy.php
diff --git wp-includes/taxonomy.php wp-includes/taxonomy.php index 80529d5..efb9094 100644
function get_term_link( $term, $taxonomy = '') { 2821 2821 global $wp_rewrite; 2822 2822 2823 2823 if ( !is_object($term) ) { 2824 if ( is_ int($term) ) {2824 if ( is_numeric($term) ) { 2825 2825 $term = &get_term($term, $taxonomy); 2826 2826 } else { 2827 2827 $term = &get_term_by('slug', $term, $taxonomy);