From 4fe532990f8961f14ecc18df782ec85b982eb304 Mon Sep 17 00:00:00 2001 From: michelvaldrighi Date: Mon, 27 Sep 2004 12:42:36 +0000 Subject: [PATCH] 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 --- xmlrpc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xmlrpc.php b/xmlrpc.php index 30fc105965..bc9da23212 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -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')) {