﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
16844	WP_Query::get_posts() pollutes the 'orderby' query var	scribu		"After running through get_posts(), the 'orderby' query var no longer contains the original value, but the final SQL code.

Thus, instead of:

{{{
if ( 'some_value' == $wp_query->get( 'orderby' ) )
}}}

you have to do:

{{{
if ( isset( $wp_query->query['orderby'] ) && 'some_value' == $wp_query->query['orderby'] )
}}}"	defect (bug)	closed	normal	3.2	Query		normal	fixed	has-patch	
