Make WordPress Core

Ticket #19986: plugin.php.diff

File plugin.php.diff, 370 bytes (added by pagesimplify, 13 years ago)

Simple patch to resolve issue with anonymous function names.

  • plugin.php

     
    750750        static $filter_id_count = 0;
    751751
    752752        if ( is_string($function) )
    753                 return $function;
     753                return trim($function);
    754754
    755755        if ( is_object($function) ) {
    756756                // Closures are currently implemented as objects