From afabe5523d74dc92db7b24acc2e3f201c8793b7f Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 8 Mar 2005 01:20:08 +0000 Subject: [PATCH] Don't stomp feed flag. http://mosquito.wordpress.org/view.php?id=1044 Props: shelleyp git-svn-id: http://svn.automattic.com/wordpress/trunk@2419 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/classes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index 353802399b..7dd88d2ea6 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -1032,8 +1032,8 @@ class WP_Rewrite { function generate_rewrite_rules($permalink_structure, $page = true, $feed = true, $forcomments = false, $walk_dirs = true) { $feedregex2 = ''; - foreach ($this->feeds as $feed) { - $feedregex2 .= $feed . '|'; + foreach ($this->feeds as $feed_name) { + $feedregex2 .= $feed_name . '|'; } $feedregex2 = '(' . trim($feedregex2, '|') . ')/?$'; $feedregex = $this->feed_base . '/' . $feedregex2;