' . 'You have been using Gd to convert PNGs. ' . 'However, due to a bug, in some cases transparency was lost in the webp. ' . 'It is recommended that you delete and reconvert all PNGs. ' . 'There are new buttons for doing just that on the ' . 'settings screen (look below the conversion methods).' ); } else { Messenger::addMessage( 'info', 'Service notice from WebP Express:
' . 'You have configured Gd to skip converting PNGs. ' . 'However, the Gd conversion method has been fixed and is doing ok now!' ); } } } } if (WEBPEXPRESS_MIGRATION_VERSION == '8') { Messenger::addMessage( 'info', 'New in WebP Express 0.13.0:' . '' ); } Option::updateOption('webp-express-migration-version', '8'); // Find out if Gd is the first active and working converter. // We check wod options, because it has already filtered out the disabled converters. /* $options = Config::loadWodOptions(); if ($options !== false) { $converters = $options['converters']; if (is_array($converters) && count($converters) > 0) { if ($converters[0]['converter'] == 'gd') { if (isset($converters[0]['options']) && ($converters[0]['options']['skip-pngs'] === true)) { // } } } } if ($config['operation-mode'] != 'no-conversion') { Config::getConverterByName('gd') }*/ } webpexpress_migrate8();