Make WordPress Core

Ticket #42771: 42771-tag-specific.diff

File 42771-tag-specific.diff, 421 bytes (added by juiiee8487, 8 years ago)

Created patch for tag specific function.

  • wp-includes/category-template.php

    diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php
    index 302aa03..72c9570 100644
    a b function get_tag_link( $tag ) { 
    10681068        if ( ! is_object( $tag ) )
    10691069                $tag = (int) $tag;
    10701070
    1071         $tag = get_term_link( $tag, 'post_tag' );
     1071        $tag = get_term_link( $tag );
    10721072
    10731073        if ( is_wp_error( $tag ) )
    10741074                return '';