Support » Plugin: FooTable » here’s a replacement for deprecated create_function

  • create_function is deprecated in PHP 7.2

    thus, on line 656

    $section_callback = create_function( '',
    	'echo "' . $desc . '";' );

    should be replaced with:

    $section_callback = function() {
        echo $desc;
    };

    hope this helps someone else that wants to squash their PHP warnings

  • You must be logged in to reply to this topic.