Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865
git-svn-id: http://core.svn.wordpress.org/trunk@22118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -422,7 +422,7 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
|
||||
$chars2 = count_chars($string2);
|
||||
|
||||
// L1-norm of difference vector.
|
||||
$difference = array_sum( array_map( array(&$this, 'difference'), $chars1, $chars2 ) );
|
||||
$difference = array_sum( array_map( array($this, 'difference'), $chars1, $chars2 ) );
|
||||
|
||||
// $string1 has zero length? Odd. Give huge penalty by not dividing.
|
||||
if ( !$string1 )
|
||||
|
||||
Reference in New Issue
Block a user