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... http://core.trac.wordpress.org/ticket/16157
am I overlooking something or is there a bug in the core?
Any help gratefully received.