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
This commit is contained in:
Sergey Biryukov 2019-12-27 00:30:02 +00:00
parent 7970e62c06
commit c546aa36ec
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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.