Make WordPress Core

Ticket #42771: 42771.diff

File 42771.diff, 461 bytes (added by boonebgorges, 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 ) { 
    2121                $category = (int) $category;
    2222        }
    2323
    24         $category = get_term_link( $category, 'category' );
     24        $category = get_term_link( $category );
    2525
    2626        if ( is_wp_error( $category ) ) {
    2727                return '';