Ticket #16644: 16644.2.diff
| File 16644.2.diff, 505 bytes (added by dd32, 2 years ago) |
|---|
-
wp-includes/taxonomy.php
2842 2842 $t = get_taxonomy($taxonomy); 2843 2843 2844 2844 if ( empty($termlink) ) { 2845 if ( $t->query_var ) 2845 if ( 'category' == $taxonomy ) 2846 $termlink = '?cat=' . $term->term_id; 2847 elseif ( $t->query_var ) 2846 2848 $termlink = "?$t->query_var=$slug"; 2847 2849 else 2848 2850 $termlink = "?taxonomy=$taxonomy&term=$slug";