﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
16373	Wrong page loaded requesting custom registered query_vars when correcting is_* for page_on_front requests	jondavis	markjaquith	"* Install vanilla WP 3.0.4.
* Register a new 'qv_test' query var in the default theme's function.php file.

{{{
	function custom_query_vars_test ($vars) {
		$vars[] = 'qv_test';
		return $vars;
	}
	add_filter('query_vars','custom_query_vars_test');
}}}

* Create a 'Home' page.
* Under Settings &rarr; Reading set the 'Front page displays' setting to 'A static page (select below' and set the 'Front page:' setting to the 'Home' page.
* Load the front end page.
* Add the 'qv_test' query var to the request (e.g. http://blogurl.com/?qv_test=test)

The wrong page is loaded.

Adding an invalid query_var (one that is not registered) continues to correctly load the page.

The issue occurs regardless of permalink configuration.

This issue appears related to #12047 and is either a regression from the fixes applied to that issue, or is simply case not covered by the fixes. Changes in revision [14445] also relate to #12047.

This issue still exists as of at least 3.0.4 up to 3.1-RC3.

"	defect (bug)	closed	high		Query	3.0	normal	invalid	has-patch 3.3-early needs-unit-tests	
