From d878c57a30ca3f816dfb058404dd88140d760a30 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 20 Aug 2005 02:01:44 +0000 Subject: [PATCH] Call time pass by reference not allowed. Use the array trick. fixes #1583 git-svn-id: http://svn.automattic.com/wordpress/trunk@2798 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index ded195f186..227697a047 100644 --- a/wp-includes/comment-functions.php +++ b/wp-includes/comment-functions.php @@ -447,7 +447,7 @@ function pingback($content, $post_ID) { $post_links[] = $link_test; elseif(($test['path'] != '/') && ($test['path'] != '')) $post_links[] = $link_test; - do_action('pre_ping', &$post_links, &$pung); + do_action('pre_ping', array(&$post_links, &$pung)); endif; endforeach;