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:
parent
78ff4b8f90
commit
fb3e755b14
|
@ -1243,10 +1243,6 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
|
||||
$comment_ID = $wpdb->insert_id;
|
||||
|
||||
if (get_settings('comments_notify')) {
|
||||
wp_notify_postauthor($comment_ID, 'pingback');
|
||||
}
|
||||
|
||||
do_action('pingback_post', $comment_ID);
|
||||
|
||||
return "Pingback from $pagelinkedfrom to $pagelinkedto registered. Keep the web talking! :-)";
|
||||
|
|
Loading…
Reference in New Issue