Import: Add a missing space to post_exists().

The lack of space resulted in SQL error when searching for posts by content.

Props yetAnotherDaniel, johnbillion.
Fixes #35246.

git-svn-id: https://develop.svn.wordpress.org/trunk@36113 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2015-12-28 19:06:05 +00:00
parent a9b9aa65b9
commit 26d7619306
2 changed files with 15 additions and 1 deletions

View File

@@ -687,7 +687,7 @@ function post_exists($title, $content = '', $date = '') {
}
if ( !empty ( $content ) ) {
$query .= 'AND post_content = %s';
$query .= ' AND post_content = %s';
$args[] = $post_content;
}