WordPress.org

Make WordPress Core

Changeset 7843


Ignore:
Timestamp:
04/28/08 06:20:53 (6 years ago)
Author:
westi
Message:

Make sure the direct feed files work when siteurl == homeurl. Fixes #6460 for the 2.5 branch props DD32.

Location:
branches/2.5/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-includes/rewrite.php

    r7666 r7843  
    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 
  • branches/2.5/wp-includes/version.php

    r7834 r7843  
    1717 * @global int $wp_db_version 
    1818 */ 
    19 $wp_db_version = 7796; 
     19$wp_db_version = 7843; 
    2020 
    2121?> 
Note: See TracChangeset for help on using the changeset viewer.