category__and not working after 3.1 update
-
In a plugin on our site we have code as follows that displays posts that belong to two categories selected in a form.
$args = array( 'category__and' => array($_GET['neighbourhood'],$_GET['venueType']), 'posts_per_page' => -1 ); query_posts($args);
Until the 3.1 update the code worked fine. Now it produces zero results. I have confirmed that the strings are being passed the correct IDs.
I see that a bug related to category__and was identified in this release and that the code has been changed… https://core.trac.www.ads-software.com/ticket/16157
am I overlooking something or is there a bug in the core?
Any help gratefully received.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘category__and not working after 3.1 update’ is closed to new replies.