Make WordPress Core


Ignore:
Timestamp:
03/08/2005 01:20:08 AM (20 years ago)
Author:
ryan
Message:

Don't stomp feed flag. http://mosquito.wordpress.org/view.php?id=1044 Props: shelleyp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r2410 r2419  
    10331033    function generate_rewrite_rules($permalink_structure, $page = true, $feed = true, $forcomments = false, $walk_dirs = true) {
    10341034        $feedregex2 = '';
    1035         foreach ($this->feeds as $feed) {
    1036             $feedregex2 .= $feed . '|';
     1035        foreach ($this->feeds as $feed_name) {
     1036            $feedregex2 .= $feed_name . '|';
    10371037        }
    10381038        $feedregex2 = '(' . trim($feedregex2, '|') .  ')/?$';
Note: See TracChangeset for help on using the changeset viewer.