From 295edf34ba88e2bcbf3828d0692b1366ff9ccce2 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 12 Jan 2006 15:49:14 +0000 Subject: WP Merge git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@502 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-inst/wp-includes/comment-functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wp-inst/wp-includes/comment-functions.php') diff --git a/wp-inst/wp-includes/comment-functions.php b/wp-inst/wp-includes/comment-functions.php index 96ab537..7bbbaac 100644 --- a/wp-inst/wp-includes/comment-functions.php +++ b/wp-inst/wp-includes/comment-functions.php @@ -634,10 +634,11 @@ function pingback($content, $post_ID) { $post_links[] = $link_test; elseif(($test['path'] != '/') && ($test['path'] != '')) $post_links[] = $link_test; - do_action('pre_ping', array(&$post_links, &$pung)); endif; endforeach; + do_action('pre_ping', array(&$post_links, &$pung)); + foreach ($post_links as $pagelinkedto){ debug_fwrite($log, "Processing -- $pagelinkedto\n"); $pingback_server_url = discover_pingback_server_uri($pagelinkedto, 2048); -- cgit