From 557fe886cdb9b5784961dfbb3e867f0146d5c816 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Thu, 27 May 2004 03:49:23 +0000 Subject: [PATCH] New hook for when comment status is changed. git-svn-id: http://svn.automattic.com/wordpress/trunk@1365 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 6cf2ad2c7..f4c573d7d 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;