Funky export dash fix.

git-svn-id: https://develop.svn.wordpress.org/trunk@690 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-01-02 22:39:18 +00:00
parent db5f5a3686
commit fe4ea7e53d
1 changed files with 1 additions and 0 deletions

View File

@ -223,6 +223,7 @@ foreach ($posts as $post) { if ('' != trim($post)) {
$comment = preg_replace('|(\n?DATE:.*)|', '', $comment);
$comment_content = addslashes(trim($comment));
$comment_content = str_replace('-----', '', $comment_content);
// Check if it's already there
if (!$wpdb->get_row("SELECT * FROM $tablecomments WHERE comment_date = '$comment_date' AND comment_content = '$comment_content'")) {