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:
parent
ce23609e56
commit
5f046745ff
@ -3847,9 +3847,9 @@ function _wp_batch_update_comment_type() {
|
|||||||
SET comment_type = 'comment'
|
SET comment_type = 'comment'
|
||||||
WHERE comment_type = ''
|
WHERE comment_type = ''
|
||||||
ORDER BY comment_ID DESC
|
ORDER BY comment_ID DESC
|
||||||
LIMIT %d"
|
LIMIT %d",
|
||||||
),
|
$comment_batch_size
|
||||||
$comment_batch_size
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
delete_option( $lock_name );
|
delete_option( $lock_name );
|
||||||
|
Loading…
Reference in New Issue
Block a user