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
This commit is contained in:
scribu 2010-10-22 21:17:09 +00:00
parent 6f62e4f13c
commit 890c0ead1c
1 changed files with 0 additions and 2 deletions

View File

@ -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] );