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.
Built from https://develop.svn.wordpress.org/trunk@36113


git-svn-id: http://core.svn.wordpress.org/trunk@36078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-12-28 19:07:28 +00:00
parent 76c33b7e33
commit 5540c0b8db
2 changed files with 2 additions and 2 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;
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36112';
$wp_version = '4.5-alpha-36113';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.