New hook for when comment status is changed.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-05-27 03:49:23 +00:00
parent eef22d1091
commit 557fe886cd
1 changed files with 1 additions and 0 deletions

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;