[wp-trac] [WordPress Trac] #21138: Comments rewrite contains bogus rule
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 2 17:43:46 UTC 2012
#21138: Comments rewrite contains bogus rule
---------------------------+-----------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Rewrite Rules | Version:
Severity: normal | Keywords:
---------------------------+-----------------
{{{
[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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21138>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list