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:
parent
162546a7fc
commit
b6edf3ddd2
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue