From c546aa36ecf0a8a0545d8f95b1322f2679a19a6f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 27 Dec 2019 00:30:02 +0000 Subject: [PATCH] Docs: Improve `@return` description for `wp_update_comment()` and `WP_UnitTest_Factory_For_Comment::update_object()`. See #48303. Built from https://develop.svn.wordpress.org/trunk@47017 git-svn-id: http://core.svn.wordpress.org/trunk@46817 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index dfe5173236..9d998fc266 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -2316,7 +2316,7 @@ function wp_set_comment_status( $comment_id, $comment_status, $wp_error = false * @global wpdb $wpdb WordPress database abstraction object. * * @param array $commentarr Contains information on the comment. - * @return int Comment was updated if value is 1, or was not updated if value is 0. + * @return int The value 1 if the comment was updated, 0 if not updated. */ function wp_update_comment( $commentarr ) { global $wpdb; diff --git a/wp-includes/version.php b/wp-includes/version.php index 54a9030446..7b07428ea0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47016'; +$wp_version = '5.4-alpha-47017'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.