WordPress.org

Make WordPress Core

Ticket #2379: comments-fix.txt

File comments-fix.txt, 617 bytes (added by joshkidd, 8 years ago)

fix for comments bug

Line 
1Index: wp-includes/classes.php
2===================================================================
3--- wp-includes/classes.php     (revision 3504)
4+++ wp-includes/classes.php     (working copy)
5@@ -1321,7 +1321,7 @@
6                $root_rewrite = apply_filters('root_rewrite_rules', $root_rewrite);
7 
8                // Comments
9-               $comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, true, true, true);
10+               $comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, true, true, true, false);
11                $comments_rewrite = apply_filters('comments_rewrite_rules', $comments_rewrite);
12 
13                // Search