• Resolved almendron

    (@almendron)


    Function create_function() is deprecated in PHP 7.2

    File jetpack/_inc/lib/markdown/extra.php. Line 1526:

    $this->utf8_strlen = create_function('$text', 'return preg_match_all("/[\\\\x00-\\\\xBF]|[\\\\xC0-\\\\xFF][\\\\x80-\\\\xBF]*/", $text, $m);');

    File jetpack/modules/wordads/php/widgets.php. Line 113:

    create_function(
    	'',
    	'return register_widget( "WordAds_Sidebar_Widget" );'

    Can you solve it in the next version?

    • This topic was modified 8 years, 1 month ago by almendron.
    • This topic was modified 8 years, 1 month ago by almendron.
    • This topic was modified 8 years, 1 month ago by almendron.
    • This topic was modified 8 years, 1 month ago by almendron.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Deprecated: Function create_function()’ is closed to new replies.