Ticket #39601: 39601.diff
File 39601.diff, 618 bytes (added by , 8 years ago) |
---|
-
wp-includes/taxonomy.php
3861 3861 3862 3862 $termlink = $wp_rewrite->get_extra_permastruct($taxonomy); 3863 3863 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 3864 3874 $slug = $term->slug; 3865 3875 $t = get_taxonomy($taxonomy); 3866 3876