query_posts is one of WP Honey Badger’s favorite functions. Like the WP Honey Badger, it has a distinctly long body, broad shoulders, and loose skin which allows it to move about freely and twist around your code, wreaking havoc on all the global variables and running extra queries all over the place. Think WP Honey Badger gives a shit about your precious
$wp_query object? It don’t give a shit about your conditional tags.