From 4aae4f0b2c141bc7563af3049f7a2a03e9bebd9d Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 3 Sep 2012 23:21:38 +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. fixes #21209 for 3.4. git-svn-id: http://core.svn.wordpress.org/branches/3.4@21709 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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