Skip to content

Commit

Permalink
Don't walk rewrite structure when generating comment feed rewrite rul…
Browse files Browse the repository at this point in the history
…es. This fixes a bug uncovered when we switched from unions to merges. Props joshkidd. fixes #2379

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
ryan committed Feb 19, 2006
1 parent bd2ef6f commit 1f2edc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ function rewrite_rules() {
$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
Expand Down

0 comments on commit 1f2edc0

Please sign in to comment.