diff --git a/wp-includes/query.php b/wp-includes/query.php index f677b8ea2..8da066964 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -1466,8 +1466,6 @@ class WP_Query extends WP_Object_Query { if ( $t->rewrite['hierarchical'] ) { $q[$t->query_var] = basename($q[$t->query_var]); - if ( $taxonomy == $q['taxonomy'] ) - $q['term'] = basename($q['term']); } $term = str_replace( ' ', '+', $q[$t->query_var] );