Remove unused variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@1314 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d93185b464
commit
4f1c3f477b
|
@ -1275,11 +1275,11 @@ function rewrite_rules($matches = '', $permalink_structure = '') {
|
||||||
|
|
||||||
// Site feed
|
// Site feed
|
||||||
$sitefeedmatch = 'feed/?([_0-9a-z-]+)?/?$';
|
$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
|
// Site comment feed
|
||||||
$sitecommentfeedmatch = 'comments/feed/?([_0-9a-z-]+)?/?$';
|
$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
|
// Code for nice categories and authors, currently not very flexible
|
||||||
$front = substr($permalink_structure, 0, strpos($permalink_structure, '%'));
|
$front = substr($permalink_structure, 0, strpos($permalink_structure, '%'));
|
||||||
|
|
Loading…
Reference in New Issue