mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Remove bogus pagination rules from the comments permastruct. (As in, comments/page/?([0-9]{1,})/?$.) props wonderboymusic, fixes #21138.
git-svn-id: https://develop.svn.wordpress.org/trunk@23524 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8c0f68a5a1
commit
a4324ec19c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user