mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Docs: Improve @return description for wp_update_comment() and WP_UnitTest_Factory_For_Comment::update_object().
See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47017 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user