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

git-svn-id: https://develop.svn.wordpress.org/trunk@1718 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
michelvaldrighi 2004-09-27 12:42:36 +00:00
parent 93a21b3596
commit 4fe532990f
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')) {