WordPress.org

Make WordPress Core

Changeset 21705


Ignore:
Timestamp:
09/03/2012 10:06:28 PM (9 years ago)
Author:
duck_
Message:

Reinstate paged rewrite rules for the post permalink structure.

Removal of this stopped pagination working for bare category URLs when
certain %category% based permalink structures were in used.

Reverts one more piece of [19737]. Props SergeyBiryukov. See #21209.

File:
1 edited

Legend:

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

    r21112 r21705  
    15381538
    15391539        // Post
    1540         $post_rewrite = $this->generate_rewrite_rules( $this->permalink_structure, EP_PERMALINK, false );
     1540        $post_rewrite = $this->generate_rewrite_rules( $this->permalink_structure, EP_PERMALINK );
    15411541        $post_rewrite = apply_filters('post_rewrite_rules', $post_rewrite);
    15421542
Note: See TracChangeset for help on using the changeset viewer.