WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 2 years ago

#21138 closed defect (bug)

Comments rewrite contains bogus rule — at Initial Version

Reported by: nacin Owned by:
Milestone: 3.6 Priority: normal
Severity: normal Version:
Component: Rewrite Rules Keywords: has-patch commit 3.6-early
Focuses: Cc:

Description

[comments/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]&withcomments=1
[comments/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]&withcomments=1
[comments/page/?([0-9]{1,})/?$] => index.php?&paged=$matches[1]

That last rule doesn't make any sense. We should call generate_rewrite_rules() with $paged = false here.

Change History (0)

Note: See TracTickets for help on using tickets.