mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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 ) )
|
||||
) );
|
||||
|
||||
Reference in New Issue
Block a user