From 4532d5a30a7c3921992e1304a3498c2f44873f8d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 30 Jun 2020 11:30:02 +0000 Subject: [PATCH] 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 --- wp-includes/comment.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 0f0ec67082..8a64a530dc 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 87a4e8f070..cba387a692 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.