New hook for when comment status is changed.

git-svn-id: https://develop.svn.wordpress.org/trunk@1365 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-05-27 03:49:23 +00:00
parent b2b196d3de
commit 9df4c2452a

View File

@ -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;