diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 65e18a7e4a..7ad081d8a6 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -1845,6 +1845,7 @@ function pingback($content, $post_ID) { endif; endforeach; + $post_links = array_unique( $post_links ); do_action_ref_array( 'pre_ping', array( &$post_links, &$pung, $post_ID ) ); foreach ( (array) $post_links as $pagelinkedto ) {