Make WordPress Core

Opened 13 years ago

Last modified 4 years ago

#16133 new defect (bug)

Pagination issue with tag "rss"

Reported by: paolal's profile 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 westi)

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)

16133.diff (2.3 KB) - added by mdawaffe 13 years ago.

Download all attachments as: .zip

Change History (7)

#1 @westi
13 years ago

  • Description modified (diff)

#2 @westi
13 years ago

  • Component changed from General to Canonical
  • Milestone changed from Awaiting Review to Future Release
  • Version set to 3.0.4

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%/

@mdawaffe
13 years ago

#3 @mdawaffe
13 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.

#4 @westi
13 years ago

  • Cc markjaquith added

#5 @SergeyBiryukov
11 years ago

  • Keywords tag pagination removed

Related: #21700

#6 @chriscct7
8 years ago

  • Keywords dev-feedback added
  • Version changed from 3.0.4 to 3.0
Note: See TracTickets for help on using tickets.