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
This commit is contained in:
parent
266b766a0d
commit
afabe5523d
|
@ -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