Don't walk rewrite structure when generating comment feed rewrite rules. This fixes a bug uncovered when we switched from unions to merges. Props joshkidd. fixes #2379
git-svn-id: https://develop.svn.wordpress.org/trunk@3527 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
143d456a7f
commit
0fff955751
@ -1308,7 +1308,7 @@ class WP_Rewrite {
|
||||
$root_rewrite = apply_filters('root_rewrite_rules', $root_rewrite);
|
||||
|
||||
// Comments
|
||||
$comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, true, true, true);
|
||||
$comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, true, true, true, false);
|
||||
$comments_rewrite = apply_filters('comments_rewrite_rules', $comments_rewrite);
|
||||
|
||||
// Search
|
||||
|
Loading…
Reference in New Issue
Block a user