From b6edf3ddd287753f4652bf3fb3b02c209fb5b552 Mon Sep 17 00:00:00 2001 From: duck_ Date: Wed, 1 Feb 2012 19:19:32 +0000 Subject: [PATCH] Pages must be paged (/page/x/) to allow for the page_for_posts option. See #19876. git-svn-id: http://svn.automattic.com/wordpress/trunk@19810 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 82f1114a6..5d0d27caf 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -863,7 +863,7 @@ class WP_Rewrite { // the extra .? at the beginning prevents clashes with other regular expressions in the rules array $this->add_rewrite_tag( '%pagename%', '(.?.+?)', 'pagename=' ); - return $this->generate_rewrite_rules( $this->get_page_permastruct(), EP_PAGES, false, true, false, false ); + return $this->generate_rewrite_rules( $this->get_page_permastruct(), EP_PAGES, true, true, false, false ); } /**