Comments: Correct `$wpdb->prepare()` usage in `_wp_batch_update_comment_type()`.

Follow-up to [47597], [48225].

See #50513, #49236.
Built from https://develop.svn.wordpress.org/trunk@48227


git-svn-id: http://core.svn.wordpress.org/trunk@47996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-06-30 11:30:02 +00:00
parent 345549a412
commit 4532d5a30a
2 changed files with 4 additions and 4 deletions

View File

@ -3847,9 +3847,9 @@ function _wp_batch_update_comment_type() {
SET comment_type = 'comment'
WHERE comment_type = ''
ORDER BY comment_ID DESC
LIMIT %d"
),
$comment_batch_size
LIMIT %d",
$comment_batch_size
)
);
delete_option( $lock_name );

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-48226';
$wp_version = '5.5-alpha-48227';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.