From 91c19c40607eb7e2dca1dd24234e6586abb827da Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@2798 602fd350-edb4-49c9-b593-d223f7449a82 --- 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;