Make WordPress Core

Ticket #39601: 39601.2.patch

File 39601.2.patch, 618 bytes (added by bhargavbhandari90, 8 years ago)
  • wp-includes/taxonomy.php

     
    38613861
    38623862        $termlink = $wp_rewrite->get_extra_permastruct($taxonomy);
    38633863
     3864        /**
     3865         * Filters the permalink structure for a terms before token replacement occurs.
     3866         *
     3867         * @param string  $termlink The termlink's permalink structure.
     3868         * @param obj     $term The term object.
     3869         *
     3870         */
     3871
     3872        $termlink = apply_filters( 'pre_term_link', $termlink, $term );
     3873
    38643874        $slug = $term->slug;
    38653875        $t = get_taxonomy($taxonomy);
    38663876