Changeset 7574

Show
Ignore:
Timestamp:
03/30/08 13:42:03 (4 months ago)
Author:
westi
Message:

Make sure the rewrite rules for the feed files match when WordPress is installed in a subdirectory. See #6460 this is for trunk.

Files:

Legend:

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

    r7563 r7574  
    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 
  • trunk/wp-includes/version.php

    r7569 r7574  
    1717 * @global int $wp_db_version 
    1818 */ 
    19 $wp_db_version = 7558
     19$wp_db_version = 7574
    2020 
    2121?>