Ticket #10493: closures.diff
| File closures.diff, 555 bytes (added by , 16 years ago) |
|---|
-
wp-includes/plugin.php
678 678 // If function then just skip all of the tests and not overwrite the following. 679 679 if ( is_string($function) ) 680 680 return $function; 681 682 // Closure Calling 683 if ( is_a($function, 'Closure') ) 684 return spl_object_hash($function); 685 681 686 // Object Class Calling 682 687 else if (is_object($function[0]) ) { 683 688 $obj_idx = get_class($function[0]).$function[1];