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

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

See #50513, #49236.

git-svn-id: https://develop.svn.wordpress.org/trunk@48227 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-06-30 11:28:55 +00:00
parent ce23609e56
commit 5f046745ff

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 );