Skip to content

Commit

Permalink
Remove bogus pagination rules from the comments permastruct. (As in, …
Browse files Browse the repository at this point in the history
…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
nacin committed Feb 28, 2013
1 parent 6d5ecce commit bf4d00e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wp-includes/rewrite.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @global int $wp_db_version
*/
$wp_db_version = 22441;
$wp_db_version = 23524;

/**
* Holds the TinyMCE version
Expand Down

0 comments on commit bf4d00e

Please sign in to comment.