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
This commit is contained in:
ryan 2005-08-20 02:01:44 +00:00
parent 597157fbbf
commit d878c57a30

View File

@ -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;