Opened 17 years ago
Closed 17 years ago
#12547 closed defect (bug) (fixed)
Union/intersection tag query URLs broken
| Reported by: | wahgnube | Owned by: | dd32 |
|---|---|---|---|
| Priority: | high | Milestone: | 3.0 |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
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
@
17 years ago
- Keywords reporter-feedback added; link tag multiple union intersection removed
#4
in reply to: ↑ 1
@
17 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
@
17 years ago
- Component Rewrite Rules → Query
- Keywords needs-patch added; reporter-feedback removed
#7
@
17 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
If you turn off pretty permalinks, do you get the correct posts?