From 890c0ead1c01bbe46c30b7b2711c0a7cf58d4fed Mon Sep 17 00:00:00 2001 From: scribu Date: Fri, 22 Oct 2010 21:17:09 +0000 Subject: [PATCH] Remove misplaced code in WP_Query::parse_tax_query(). See #12659 git-svn-id: https://develop.svn.wordpress.org/trunk@15921 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/query.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index f677b8ea2e..8da0669643 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] );