Eliminate double emails. Already sending email in wp_new_comment()

git-svn-id: http://svn.automattic.com/wordpress/trunk@1833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
emc3 2004-10-26 16:41:08 +00:00
parent 78ff4b8f90
commit fb3e755b14
1 changed files with 0 additions and 4 deletions

View File

@ -1243,10 +1243,6 @@ class wp_xmlrpc_server extends IXR_Server {
$comment_ID = $wpdb->insert_id; $comment_ID = $wpdb->insert_id;
if (get_settings('comments_notify')) {
wp_notify_postauthor($comment_ID, 'pingback');
}
do_action('pingback_post', $comment_ID); do_action('pingback_post', $comment_ID);
return "Pingback from $pagelinkedfrom to $pagelinkedto registered. Keep the web talking! :-)"; return "Pingback from $pagelinkedfrom to $pagelinkedto registered. Keep the web talking! :-)";