small fix to support post-slugs with underscores, required for compatibility with imported MT blogs' older post-slugs

git-svn-id: https://develop.svn.wordpress.org/trunk@1277 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
michelvaldrighi 2004-05-14 12:33:12 +00:00
parent 772caaa690
commit 1138540453
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ if ('' != $day) {
}
if ('' != $name) {
$name = preg_replace('/[^a-z0-9-]/', '', $name);
$name = preg_replace('/[^a-z0-9-_]/', '', $name);
$where .= " AND post_name = '$name'";
}