Opened 13 years ago
Closed 13 years ago
#18583 closed defect (bug) (invalid)
is_post_type_archive() shouldn't return true if is_search() is true
Reported by: | ocean90 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | Query | Keywords: | |
Focuses: | Cc: |
Description
- Register a post type.
- Do a search domain.com/post_type/?s=foo
- Result:
is_post_type_archive()
will return true,is_archive()
too.
In my opinion is_post_type_archive()
shouldn't return true on a search.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Also, what's the rationale?
What's the situation with
?author_name=foo&s=bar
etc.?