git-svn-id: http://svn.automattic.com/wordpress/trunk@2419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-03-08 01:20:08 +00:00
parent 266b766a0d
commit afabe5523d
1 changed files with 2 additions and 2 deletions

View File

@ -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;