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:
parent
76c33b7e33
commit
5540c0b8db
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue