WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#14831 closed enhancement (fixed)

Taxonomy is ignored in search query

Reported by: patrik bona Owned by: scribu
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0.1
Component: Query Keywords: search, taxonomy
Focuses: Cc:

Description

It is not possible to make search query in given term.

For example if i do:

query_posts("taxonomy=jazyk&term=sk&s=word');

Then taxonomy and term parameters are ignored and everything containing 'word' is returned.

And it is also same if i type these parameters to url without query_posts.

Change History (6)

#1 @scribu
7 years ago

  • Milestone changed from Awaiting Review to 3.1

Related: #12891

#2 @mikeschinkel
7 years ago

  • Cc mikeschinkel@… added

#3 @scribu
7 years ago

  • Owner set to scribu
  • Status changed from new to accepted

#4 @scribu
7 years ago

  • Type changed from defect (bug) to enhancement

Currently, is_search and is_archive are mutually exclusive, for some reason.

#5 @scribu
7 years ago

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

(In [15687]) Allow search in archive pages. Fixes #14831

#6 @scribu
7 years ago

Going to let it soak. Will revert if significant problems appear.

Note: See TracTickets for help on using tickets.