Make WordPress Core

Changeset 23524 for trunk


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.

Location:
trunk/wp-includes
Files:
2 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
  • trunk/wp-includes/version.php

    r23495 r23524  
    1212 * @global int $wp_db_version
    1313 */
    14 $wp_db_version = 22441;
     14$wp_db_version = 23524;
    1515
    1616/**
Note: See TracChangeset for help on using the changeset viewer.