Remove misplaced code in WP_Query::parse_tax_query(). See #12659
git-svn-id: http://svn.automattic.com/wordpress/trunk@15921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
779b8ff334
commit
e3691d5188
|
@ -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