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/class-wp.php

    r21818 r22118  
    607607     */
    608608    function _map() {
    609         $callback = array(&$this, 'callback');
     609        $callback = array($this, 'callback');
    610610        return preg_replace_callback($this->_pattern, $callback, $this->_subject);
    611611    }
Note: See TracChangeset for help on using the changeset viewer.