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:
parent
345549a412
commit
4532d5a30a
|
@ -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 );
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue