Make WordPress Core


Ignore:
Timestamp:
10/04/2012 08:00:16 PM (12 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/cache.php

    r22111 r22118  
    636636         * already calls __destruct()
    637637         */
    638         register_shutdown_function( array( &$this, '__destruct' ) );
     638        register_shutdown_function( array( $this, '__destruct' ) );
    639639    }
    640640
Note: See TracChangeset for help on using the changeset viewer.