Make WordPress Core

Ticket #25719: class-wp.patch

File class-wp.patch, 707 bytes (added by mauryaratan, 11 years ago)
  • wp-includes/class-wp.php

     
    245245                        }
    246246                }
    247247
    248                 $this->public_query_vars;
    249248                /**
    250249                 * Filter the query variables whitelist before processing.
    251250                 *
     
    257256                 *
    258257                 * @param array $public_query_vars The array of whitelisted query variables.
    259258                 */
    260                 $this->public_query_vars = apply_filters( 'query_vars', $public_query_vars );
     259                $this->public_query_vars = apply_filters( 'query_vars', $this->public_query_vars );
    261260
    262261                foreach ( get_post_types( array(), 'objects' ) as $post_type => $t )
    263262                        if ( $t->query_var )