mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-02 00:00:15 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user