WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/04/2012 08:00:16 PM (9 years ago)
Author:
ryan
Message:

Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-diff.php

    r19712 r22118  
    423423
    424424        // L1-norm of difference vector.
    425         $difference = array_sum( array_map( array(&$this, 'difference'), $chars1, $chars2 ) );
     425        $difference = array_sum( array_map( array($this, 'difference'), $chars1, $chars2 ) );
    426426
    427427        // $string1 has zero length? Odd. Give huge penalty by not dividing.
Note: See TracChangeset for help on using the changeset viewer.