From 9ce4163dd76b5f0db8a82c66da9b48826de6e49a Mon Sep 17 00:00:00 2001 From: Jon Cave Date: Mon, 3 Sep 2012 22:06:28 +0000 Subject: [PATCH] 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 --- wp-includes/rewrite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 04f01c22c8..740ffebb09 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -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