Make WordPress Core

Changeset 15861


Ignore:
Timestamp:
10/20/2010 12:12:31 PM (14 years ago)
Author:
scribu
Message:

Get rid of $taxonomy_query_vars altogether. See #12891

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r15860 r15861  
    133133
    134134        $this->query_vars = array();
    135         $taxonomy_query_vars = array();
    136135        $post_type_query_vars = array();
    137136
     
    252251
    253252        $this->public_query_vars = apply_filters('query_vars', $this->public_query_vars);
    254 
    255         foreach ( $GLOBALS['wp_taxonomies'] as $taxonomy => $t )
    256             if ( $t->query_var )
    257                 $taxonomy_query_vars[$t->query_var] = $taxonomy;
    258253
    259254        foreach ( $GLOBALS['wp_post_types'] as $post_type => $t )
Note: See TracChangeset for help on using the changeset viewer.