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
This commit is contained in:
Andrew Nacin 2013-02-28 18:35:13 +00:00
parent 6d5ecce923
commit bf4d00e320
2 changed files with 2 additions and 2 deletions

View File

@ -1552,7 +1552,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, 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 File

@ -11,7 +11,7 @@ $wp_version = '3.6-alpha-23495';
*
* @global int $wp_db_version
*/
$wp_db_version = 22441;
$wp_db_version = 23524;
/**
* Holds the TinyMCE version