Browse files

Remove bogus pagination rules from the comments permastruct. (As in, …

…comments/page/?([0-9]{1,})/?$.) props wonderboymusic, fixes #21138.

git-svn-id: http://core.svn.wordpress.org/trunk@23524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 6d5ecce commit bf4d00e320e6751a97cb843ca608f59f24ceaf33 @nacin nacin committed Feb 28, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 wp-includes/rewrite.php
  2. +1 −1 wp-includes/version.php
View
2 wp-includes/rewrite.php
@@ -1552,7 +1552,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, EP_COMMENTS, true, true, true, false);
+ $comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, EP_COMMENTS, false, true, true, false);
$comments_rewrite = apply_filters('comments_rewrite_rules', $comments_rewrite);
// Search
View
2 wp-includes/version.php
@@ -11,7 +11,7 @@
*
* @global int $wp_db_version
*/
-$wp_db_version = 22441;
+$wp_db_version = 23524;
/**
* Holds the TinyMCE version

0 comments on commit bf4d00e

Please sign in to comment.