diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 6cf2ad2c7c..f4c573d7d5 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -915,6 +915,7 @@ function wp_set_comment_status($comment_id, $comment_status) { } if ($wpdb->query($query)) { + do_action('wp_set_comment_status', $comment_id); return true; } else { return false;