mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user