Ticket #10493: closures.3.diff
File closures.3.diff, 434 bytes (added by , 15 years ago) |
---|
-
wp-includes/plugin.php
737 737 if ( is_string($function) ) 738 738 return $function; 739 739 740 $function = (array) $function; 740 // Closure 741 if ( is_object($function) ) 742 return spl_object_hash($function); 741 743 742 744 if (is_object($function[0]) ) { 743 745 // Object Class Calling