WordPress.org

Make WordPress Core

Changeset 19810


Ignore:
Timestamp:
02/01/12 19:19:32 (2 years ago)
Author:
duck_
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rewrite.php

    r19779 r19810  
    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 
Note: See TracChangeset for help on using the changeset viewer.