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:
parent
6f62e4f13c
commit
890c0ead1c
|
@ -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] );
|
||||
|
|
Loading…
Reference in New Issue