Opened 15 years ago
Closed 15 years ago
#12547 closed defect (bug) (fixed)
Union/intersection tag query URLs broken
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | high |
Severity: | normal | Version: | |
Component: | Query | Keywords: | needs-patch |
Focuses: | Cc: |
Description
I noticed some time ago that links querying multiple tags, e.g. site.org/tag/foo,bar/ and site.org/tag/foo+bar/ , stopped working on my site which runs WordPress trunk. Both these queries rewrite to site.org/tag/foo/
After systematically stepping backward through svn changesets, I believe that the changeset that was causing this problem is the following:
Change History (8)
#1
follow-up:
↓ 4
@
15 years ago
- Keywords reporter-feedback added; link tag multiple union intersection removed
#4
in reply to:
↑ 1
@
15 years ago
Replying to scribu:
If you turn off pretty permalinks, do you get the correct posts?
This is the first thing I tried, and no, it does not work without pretty permalinks either.
#5
@
15 years ago
- Component changed from Rewrite Rules to Query
- Keywords needs-patch added; reporter-feedback removed
#7
@
15 years ago
I have temporarily fixed it with the following modification on line 135 of wp-includes/canonical.php:
is_tag() | is_tax() ) { Terms (Tags/categories) |
is_tax() ) { Terms (Tags/categories) |
I don't know what the implications of this change are, other than it prevents a bunch of calls to remove_query_arg()s.
If you turn off pretty permalinks, do you get the correct posts?