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
This commit is contained in:
duck_ 2012-02-01 19:19:32 +00:00
parent 162546a7fc
commit b6edf3ddd2
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 );
}
/**