Additional plugin API hooks, extending moderation scheme to more fully cover trackbacks and pingbacks, cleanup of XML-RPC file.

git-svn-id: https://develop.svn.wordpress.org/trunk@1012 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-03-25 20:18:20 +00:00
parent cadc96082b
commit 84635f1a44
4 changed files with 8 additions and 2 deletions

View File

@@ -100,6 +100,8 @@ if ($ok) { // if there was no comment from this IP in the last 10 seconds
wp_notify_postauthor($comment_ID, 'comment');
}
do_action('comment_post', $comment_ID);
if ($email == '')
$email = ' '; // this to make sure a cookie is set for 'no email'