Opened 14 years ago
Last modified 4 months ago
#16133 new defect (bug)
Pagination issue with tag "rss"
Reported by: | paolal | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Canonical | Keywords: | has-patch needs-testing dev-feedback |
Focuses: | Cc: |
Description (last modified by )
When posts use "RSS" as a tag, and the /tag/rss/ page has more posts than it is set to display on one single page, the link to page 2:
/tag/rss/page/2/
is redirected to:
/category/page/2/
Tested on Paolo Belcastro test WordPress.org :
http://test.belcastro.com/tag/rss/
Running 3.1-RC2-17229 with only Debug Bar plugin activated
This is not theme related, same behaviour with TwentyTen or Thematic on this install.
Attachments (1)
Change History (8)
#2
@
14 years ago
- Component changed from General to Canonical
- Milestone changed from Awaiting Review to Future Release
- Version set to 3.0.4
#3
@
14 years ago
- Keywords has-patch needs-testing added
16133.diff is one idea.
Tries to catch this case with a negative lookbehind assertion. Needs testing and probably more work. I'm not sure what it breaks.
#7
@
4 months ago
I don't have a great idea on how to update the patch, or a best process to do so, but I am seeing similar but different issues currently with 6.6 RC1.
Instead of https://wpcore.test/tag/rss/page/2/
leading to https://wpcore.test/category/page/2/
, it now leads to https://wpcore.test/tag/page/2/
with the original rss
term missing in the permalink.
mdawaffe tracked this down to likely being caused by:
http://core.trac.wordpress.org/browser/trunk/wp-includes/canonical.php#L190
I've reproduced on a 3.0.4 install too with the following permalink settings:
/%year%/%monthnum%/%postname%/