Pages must be paged (/page/x/) to allow for the page_for_posts option. See #19876.

git-svn-id: https://develop.svn.wordpress.org/trunk@19810 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jon Cave 2012-02-01 19:19:32 +00:00
parent 9a68d977e6
commit 5371356600
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
/**