Ticket #42771: 42771.diff
File 42771.diff, 461 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/category-template.php
diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php index c3782441e6..77c0d4532a 100644
a b function get_category_link( $category ) { 21 21 $category = (int) $category; 22 22 } 23 23 24 $category = get_term_link( $category , 'category');24 $category = get_term_link( $category ); 25 25 26 26 if ( is_wp_error( $category ) ) { 27 27 return '';