Fix incorrect global post object when field is fields => 'id=>parent
for WP_Query.
#12496
Loading
fields => 'id=>parent
for WP_Query.
#12496