Make WordPress Core

Ticket #19876: 19876.paged-for-pages.diff

File 19876.paged-for-pages.diff, 612 bytes (added by duck_, 13 years ago)
  • wp-includes/rewrite.php

     
    863863                // the extra .? at the beginning prevents clashes with other regular expressions in the rules array
    864864                $this->add_rewrite_tag( '%pagename%', '(.?.+?)', 'pagename=' );
    865865
    866                 return $this->generate_rewrite_rules( $this->get_page_permastruct(), EP_PAGES, false, true, false, false );
     866                return $this->generate_rewrite_rules( $this->get_page_permastruct(), EP_PAGES, true, true, false, false );
    867867        }
    868868
    869869        /**