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:
parent
9d428766b0
commit
171c617521
|
@ -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');
|
$commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_url', 'comment_content', 'comment_type');
|
||||||
|
|
||||||
|
wp_new_comment($commentdata);
|
||||||
|
|
||||||
$comment_ID = $wpdb->insert_id;
|
$comment_ID = $wpdb->insert_id;
|
||||||
|
|
||||||
if (get_settings('comments_notify')) {
|
if (get_settings('comments_notify')) {
|
||||||
|
|
Loading…
Reference in New Issue