Completely ignore ?post_type=page
|Reported by:||scribu||Owned by:||markjaquith|
Follow-up to #17033
If you go to ?post_type=page, you will get a list of pages, displayed as posts, even though the 'page' post type doesn't have 'has_archive' => true.
That is very unexpected behaviour.
The 'post_type' arg should be stripped out before it reaches $wp_query, so that visitors can't access this view, unless explicitly enabled by a plugin.