mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
Eliminate double emails. Already sending email in wp_new_comment()
git-svn-id: https://develop.svn.wordpress.org/trunk@1833 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0064b2180c
commit
01584c9905
@ -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…
x
Reference in New Issue
Block a user