12/23/2015 at 2:43 pm
#359070
Keymaster
@ Rebecca
Looks like we cross posted…
I downloaded the free version of the Virtue theme by Kadence Themes.
In several instances they are using the $wp_query var incorrectly.
In the page-blog.php, page-portfolio.php, authorbox.php, recentblog-carousel.php, recentportfolio-carousel.php, similarblog-carousel.php, blog-home.php, latest-slider.php and portfolio-carousel.php file they are saving it to a temp var, nulling it out and “restoring” it. This is definitely the wrong way of doing it and will break any plugins that happen to need the $wp_query variable.
