Funky export dash fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@690 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
db5f5a3686
commit
fe4ea7e53d
|
@ -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'")) {
|
||||
|
|
Loading…
Reference in New Issue