Make WordPress Core

Ticket #6460: 6460.diff

File 6460.diff, 1.3 KB (added by DD32, 17 years ago)
  • wp-includes/rewrite.php

     
    793793                $robots_rewrite = array('robots.txt$' => $this->index . '?robots=1');
    794794
    795795                //Default Feed rules - These are require to allow for the direct access files to work with permalink structure starting with %category%
    796                 $default_feeds = array( '.*/wp-atom.php$'       =>      $this->index .'?feed=atom',
    797                                                                 '.*/wp-rdf.php$'        =>      $this->index .'?feed=rdf',
    798                                                                 '.*/wp-rss.php$'        =>      $this->index .'?feed=rss',
    799                                                                 '.*/wp-rss2.php$'       =>      $this->index .'?feed=rss2',
    800                                                                 '.*/wp-feed.php$'       =>      $this->index .'?feed=feed',
    801                                                                 '.*/wp-commentsrss2.php$'       =>      $this->index . '?feed=rss2&withcomments=1');
     796                $default_feeds = array( '.*wp-atom.php$'        =>      $this->index .'?feed=atom',
     797                                                                '.*wp-rdf.php$' =>      $this->index .'?feed=rdf',
     798                                                                '.*wp-rss.php$' =>      $this->index .'?feed=rss',
     799                                                                '.*wp-rss2.php$'        =>      $this->index .'?feed=rss2',
     800                                                                '.*wp-feed.php$'        =>      $this->index .'?feed=feed',
     801                                                                '.*wp-commentsrss2.php$'        =>      $this->index . '?feed=rss2&withcomments=1');
    802802
    803803                // Post
    804804                $post_rewrite = $this->generate_rewrite_rules($this->permalink_structure, EP_PERMALINK);