Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#23640 closed enhancement (invalid)

Add the option to search for slugs in category parameters in wp_query

Reported by: alexvorn2's profile alexvorn2 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Query Keywords:
Focuses: Cc:


I mean to add these parameters:

category_slug__and (array) - use category slugs.
category_slug__in (array) - use category slugs.
category_slug__not_in (array) - use category slugs.

for wp_query.

Change History (3)

#1 @SergeyBiryukov
11 years ago

  • Component changed from General to Query

#2 @SergeyBiryukov
11 years ago

  • Type changed from defect (bug) to enhancement

#3 @nacin
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

We have tax_query for this.

Note: See TracTickets for help on using tickets.