Don't stomp feed flag. http://mosquito.wordpress.org/view.php?id=1044 Props: shelleyp
git-svn-id: https://develop.svn.wordpress.org/trunk@2419 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d22dd5f1bd
commit
35be0f6333
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user