[wp-trac] [WordPress Trac] #37149: PHP Warning raised from plugin.php on line 235

WordPress Trac noreply at wordpress.org
Wed Jun 22 15:09:32 UTC 2016


#37149: PHP Warning raised from plugin.php on line 235
--------------------------+----------------------
 Reporter:  nodeleaf      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by nodeleaf):

 It was in the the theme:

 ''add_filter('the_generator','return "";');''

 Replaced by:

 ''add_filter('the_generator',create_function('$a','return "";'));''

 Thank you for your suggestion.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37149#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list