Ticket #19986: 19986.diff
File 19986.diff, 415 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/plugin.php
913 913 static $filter_id_count = 0; 914 914 915 915 if ( is_string($function) ) 916 return $function;916 return trim( $function ); 917 917 918 918 if ( is_object($function) ) { 919 919 // Closures are currently implemented as objects