Support » Plugin: RSSImport » Deprecated: Function create_function() is deprecated in PHP 7.2.x

  • Resolved lunaluna_dev

    (@lunaluna_dev)


    rssimport.php on line.2486

    
    	// add_action( 'widgets_init', create_function( '', 'return register_widget("RSSImport_Widget");' ) );
    	add_action( 'widgets_init', function(){
    		register_widget('RSSImport_Widget' );
    	});
    

    please fix the code like above.

  • The topic ‘Deprecated: Function create_function() is deprecated in PHP 7.2.x’ is closed to new replies.