WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 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)

comment:1 scribu4 years ago

  • Milestone changed from Awaiting Review to 3.1

Related: #12891

comment:2 mikeschinkel4 years ago

  • Cc mikeschinkel@… added

comment:3 scribu4 years ago

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

comment:4 scribu4 years ago

  • Type changed from defect (bug) to enhancement

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

comment:5 scribu4 years ago

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

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

comment:6 scribu4 years ago

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

Note: See TracTickets for help on using tickets.