WordPress.org

Make WordPress Core

Ticket #21138: comments-rewrite.diff

File comments-rewrite.diff, 652 bytes (added by wonderboymusic, 3 years ago)
  • wp-includes/rewrite.php

     
    15491549                $root_rewrite = apply_filters('root_rewrite_rules', $root_rewrite); 
    15501550 
    15511551                // Comments 
    1552                 $comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, EP_COMMENTS, true, true, true, false); 
     1552                $comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, EP_COMMENTS, false, true, true, false); 
    15531553                $comments_rewrite = apply_filters('comments_rewrite_rules', $comments_rewrite); 
    15541554 
    15551555                // Search