Reinstate paged rewrite rules for the post permalink structure.
Removal of this stopped pagination working for bare category URLs when certain %category% based permalink structures were in used. Reverts one more piece of [19737]. Props SergeyBiryukov. fixes #21209 for 3.4. git-svn-id: http://core.svn.wordpress.org/branches/3.4@21709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1537,7 +1537,7 @@ class WP_Rewrite {
|
||||
$registration_pages['.*wp-register.php$'] = $this->index . '?register=true'; // Deprecated
|
||||
|
||||
// Post
|
||||
$post_rewrite = $this->generate_rewrite_rules( $this->permalink_structure, EP_PERMALINK, false );
|
||||
$post_rewrite = $this->generate_rewrite_rules( $this->permalink_structure, EP_PERMALINK );
|
||||
$post_rewrite = apply_filters('post_rewrite_rules', $post_rewrite);
|
||||
|
||||
// Date
|
||||
|
||||
Reference in New Issue
Block a user