Move hierarchical_url to $args['rewrite']['hierarchical']

git-svn-id: https://develop.svn.wordpress.org/trunk@15824 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse
2010-10-17 04:36:26 +00:00
parent cc59063ea9
commit a47b78e95b
2 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -1459,7 +1459,7 @@ class WP_Query extends WP_Object_Query {
$term = $q[$t->query_var];
if ( $t->hierarchical_url ) {
if ( $t->rewrite['hierarchical'] ) {
$tax_query[] = array_merge( $tax_query_defaults, array(
'terms' => array( basename( $term ) )
) );