diff --git a/wp-admin/includes/comment.php b/wp-admin/includes/comment.php index e006dadd87..a20fe8febd 100644 --- a/wp-admin/includes/comment.php +++ b/wp-admin/includes/comment.php @@ -45,6 +45,10 @@ function comment_exists( $comment_author, $comment_date, $timezone = 'blog' ) { * Update a comment with values provided in $_POST. * * @since 2.0.0 + * @since 5.5.0 A return value was added. + * + * @return int|WP_Error The value 1 if the comment was updated, 0 if not updated. + * A WP_Error object on failure. */ function edit_comment() { if ( ! current_user_can( 'edit_comment', (int) $_POST['comment_ID'] ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 19684f2e04..ba266ff865 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48222'; +$wp_version = '5.5-alpha-48223'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.