From 4f1c3f477bf22a7710922b8decae452ab77abc0e Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Wed, 19 May 2004 05:59:21 +0000 Subject: [PATCH] Remove unused variable. git-svn-id: https://develop.svn.wordpress.org/trunk@1314 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 231101d100..119fa7f974 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1275,11 +1275,11 @@ function rewrite_rules($matches = '', $permalink_structure = '') { // Site feed $sitefeedmatch = 'feed/?([_0-9a-z-]+)?/?$'; - $sitefeedquery = $site_root . 'wp-feed.php?feed=' . preg_index(1, $matches); + $sitefeedquery = 'wp-feed.php?feed=' . preg_index(1, $matches); // Site comment feed $sitecommentfeedmatch = 'comments/feed/?([_0-9a-z-]+)?/?$'; - $sitecommentfeedquery = $site_root . 'wp-feed.php?feed=' . preg_index(1, $matches) . '&withcomments=1'; + $sitecommentfeedquery = 'wp-feed.php?feed=' . preg_index(1, $matches) . '&withcomments=1'; // Code for nice categories and authors, currently not very flexible $front = substr($permalink_structure, 0, strpos($permalink_structure, '%'));