• 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

  • The topic ‘here’s a replacement for deprecated create_function’ is closed to new replies.