Get rid of $taxonomy_query_vars altogether. See #12891

git-svn-id: http://svn.automattic.com/wordpress/trunk@15861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-10-20 12:12:31 +00:00
parent 21af801a5a
commit 7c7af674b4
1 changed files with 0 additions and 5 deletions

View File

@ -132,7 +132,6 @@ class WP {
global $wp_rewrite;
$this->query_vars = array();
$taxonomy_query_vars = array();
$post_type_query_vars = array();
if ( is_array($extra_query_vars) )
@ -252,10 +251,6 @@ class WP {
$this->public_query_vars = apply_filters('query_vars', $this->public_query_vars);
foreach ( $GLOBALS['wp_taxonomies'] as $taxonomy => $t )
if ( $t->query_var )
$taxonomy_query_vars[$t->query_var] = $taxonomy;
foreach ( $GLOBALS['wp_post_types'] as $post_type => $t )
if ( $t->query_var )
$post_type_query_vars[$t->query_var] = $post_type;