Ticket #25719: class-wp.patch
File class-wp.patch, 707 bytes (added by , 11 years ago) |
---|
-
wp-includes/class-wp.php
245 245 } 246 246 } 247 247 248 $this->public_query_vars;249 248 /** 250 249 * Filter the query variables whitelist before processing. 251 250 * … … 257 256 * 258 257 * @param array $public_query_vars The array of whitelisted query variables. 259 258 */ 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 ); 261 260 262 261 foreach ( get_post_types( array(), 'objects' ) as $post_type => $t ) 263 262 if ( $t->query_var )