Make WordPress Core

Ticket #19986: 19986.diff

File 19986.diff, 415 bytes (added by DrewAPicture, 9 years ago)

refresh

  • src/wp-includes/plugin.php

     
    913913        static $filter_id_count = 0;
    914914
    915915        if ( is_string($function) )
    916                 return $function;
     916                return trim( $function );
    917917
    918918        if ( is_object($function) ) {
    919919                // Closures are currently implemented as objects