Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#5318 closed defect (bug) (fixed)

'Next page' link broken when using slug that contains the word 'page'

Reported by: Eminence Owned by:
Priority: normal Milestone: 2.5
Component: General Version: 2.3.1
Severity: major Keywords:
Cc: Focuses:

Description

The 'Next page' and 'Previous page' links are broken when you're are browsing posts in a category that has 'page' in it's slug. For example:

You are at: ​http://yourblog.com/index.php/category/frontpage/page/2/

The previous page link incorrectly points to: ​http://yourblog/index.php/category/front

The next page link incorrectly points to: ​http://yourblog/index.php/category/front/page/3/

(the correct links should be /index.php/category/frontpage/ and /index.php/category/frontpage/page/3/)

Attachments (1)

5318.diff​ (479 bytes ) - added by xknown 19 years ago.

Download all attachments as: .zip

Change History (4)

@xknown
19 years ago

#1 @xknown
19 years ago

The attached patch against trunk seems to fix the problem.

#2 @ryan
19 years ago

  • Resolution → fixed
  • Status new → closed

(In [6415]) Fix previous/next links for slugs containing 'page'. Props xknown. fixes #5318

#3 @anonymized_218323
19 years ago

  • Milestone 2.5 → 2.4

Assumed Fixed on trunk.

Note: See TracTickets for help on using tickets.