Make WordPress Core


Ignore:
Timestamp:
02/28/2013 06:35:13 PM (12 years ago)
Author:
nacin
Message:

Remove bogus pagination rules from the comments permastruct. (As in, comments/page/?([0-9]{1,})/?$.) props wonderboymusic, fixes #21138.

File:
1 edited

Legend:

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

    r23305 r23524  
    15531553
    15541554        // Comments
    1555         $comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, EP_COMMENTS, true, true, true, false);
     1555        $comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, EP_COMMENTS, false, true, true, false);
    15561556        $comments_rewrite = apply_filters('comments_rewrite_rules', $comments_rewrite);
    15571557
Note: See TracChangeset for help on using the changeset viewer.