From ecb85e38bbaca2bbaad4bd04fc19811500d17c98 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 14 Feb 2006 01:30:14 +0000 Subject: [PATCH] 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: http://svn.automattic.com/wordpress/trunk@3527 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index 8f751c3dcc..a8dbe7c9fc 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -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