Allow underscores in post_name

git-svn-id: http://svn.automattic.com/wordpress/trunk@961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-03-06 17:14:24 +00:00
parent e0ad33fffe
commit 3762000999
1 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,7 @@ $rewritereplace = array(
'([0-9]{4})?',
'([0-9]{1,2})?',
'([0-9]{1,2})?',
'([0-9a-z-]+)?',
'([0-9a-z-_]+)?',
'([0-9]+)?'
);
$queryreplace = array (
@ -166,11 +166,11 @@ $trackbackregex = 'trackback/?';
$trackbackmatch .= $trackbackregex;
// Site feed
$sitefeedmatch = 'feed/?([0-9a-z-]+)?/?$';
$sitefeedmatch = 'feed/?([0-9a-z-_]+)?/?$';
$sitefeedquery = $site_root . 'wp-feed.php?feed=$1';
// Site comment feed
$sitecommentfeedmatch = 'comments/feed/?([0-9a-z-]+)?/?$';
$sitecommentfeedmatch = 'comments/feed/?([0-9a-z-_]+)?/?$';
$sitecommentfeedquery = $site_root . 'wp-feed.php?feed=$1&withcomments=1';
// Code for nice categories, currently not very flexible