ok, I can't believe I forgot to add that in

git-svn-id: http://svn.automattic.com/wordpress/trunk@1718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-09-27 12:42:36 +00:00
parent 9d428766b0
commit 171c617521
1 changed files with 2 additions and 0 deletions

View File

@ -1252,6 +1252,8 @@ class wp_xmlrpc_server extends IXR_Server {
$commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_url', 'comment_content', 'comment_type');
wp_new_comment($commentdata);
$comment_ID = $wpdb->insert_id;
if (get_settings('comments_notify')) {