Support » Plugins » Hacks » category__and not working after 3.1 update

  • Resolved ajsadeh


    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

    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…

    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.