Ticket #25141: 25141.diff
File 25141.diff, 806 bytes (added by , 11 years ago) |
---|
-
wp-includes/class-wp-xmlrpc-server.php
5466 5466 5467 5467 $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_url', 'comment_author_email', 'comment_content', 'comment_type'); 5468 5468 5469 // Turn off the comment flood filter for pingbacks. 5470 add_filter( 'comment_flood_filter', '__return_false', 11 ); 5469 5471 $comment_ID = wp_new_comment($commentdata); 5472 remove_filter( 'comment_flood_filter', '__return_false', 11 ); 5473 5470 5474 do_action('pingback_post', $comment_ID); 5471 5475 5472 5476 return sprintf(__('Pingback from %1$s to %2$s registered. Keep the web talking! :-)'), $pagelinkedfrom, $pagelinkedto);