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. See #21209. git-svn-id: https://develop.svn.wordpress.org/trunk@21705 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7981f50934
commit
9ce4163dd7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user