Thread:Extension talk:Widgets/PHP 5.5 warning preg replace(): The /e modifier is deprecated ... with FIX

This warning shows up in my server logs when using PHP 5.5:

PHP Deprecated: preg_replace: The /e modifier is deprecated, use preg_replace_callback instead in /usr/local/www/wiki/extensions/Widgets/WidgetRenderer.php on line 144

This is the fixed code from WidgetRenderer.php: