WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#16157 closed defect (bug) (fixed)

category__and, tag__and, tag_slug__in, tag_slug__and support missing

Reported by: ryan Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: Taxonomy Keywords:
Focuses: Cc:

Description

These appear to have gone AWOL.

Attachments (2)

16157.diff (1.8 KB) - added by ryan 7 years ago.
tag_slugin and some sanitization
16157.2.diff (3.6 KB) - added by ryan 7 years ago.
Support AND operator

Download all attachments as: .zip

Change History (14)

@ryan
7 years ago

tag_slugin and some sanitization

@ryan
7 years ago

Support AND operator

#1 @ryan
7 years ago

Needs a lot of testing, especially the intersections.

#2 @westi
7 years ago

  • Cc westi added

::crys::

#3 @ryan
7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [17244]) categoryand, tagand, tag_slugin, tag_slugand support. fixes #16157

#4 @ryan
7 years ago

Looking good here. If a tag that doesn't exist is specified in an intersection, that tag is ignored. It won't be required in the AND. I think this is different than 3.0, but quite edge case.

#5 @ryan
7 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

'tag' is also missing.

#6 @ryan
7 years ago

(In [17272]) Resurrect 'tag' query processing. see #16157

#7 @westi
7 years ago

::crys::

#8 @nacin
7 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

#9 @nacin
7 years ago

This was broken in [15613].

#10 @ajsadeh
7 years ago

I have an issue that arose since release of 3.1 whereby

$args = array(
     'category__and' => array($_GET['neighbourhood'],$_GET['venueType']),
     'posts_per_page' => -1
     );
query_posts($args);

used to work, but does not now. I am cross-posting here in case it is of relevance to the changes made in this ticket - Support Forum Post Thank you for any help.

#12 @scribu
7 years ago

Follow-up: #16706

Note: See TracTickets for help on using tickets.