From 4a94c500f254c9a2ab1283a1506990584b4d3917 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: http://core.svn.wordpress.org/trunk@21705 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