From 9df4c2452aa8edb0b119d34d122b7590bc299efd Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Thu, 27 May 2004 03:49:23 +0000 Subject: [PATCH] New hook for when comment status is changed. git-svn-id: https://develop.svn.wordpress.org/trunk@1365 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) 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;