operation modes. Your configuration almost fits the mode called ' .
'Standard, however as you have set the Response on failure option to something other than ' .
'Original, your setup has been put into Tweaked mode. ' .
'You might want to go and change that.'
);
}
}
if (isset($config['redirect-to-existing-in-htaccess']) && ($config['redirect-to-existing-in-htaccess'])) {
Messenger::addMessage(
'info',
'In WebP Express 0.10, the .htaccess rules has been altered a bit: The Cache-Control header is now set when ' .
'redirecting directly to an existing webp image.
' .
'You might want to go to the options page and re-save settings in order to regenerate the .htaccess rules.'
);
}
if (!isset($config['redirect-to-existing-in-htaccess'])) {
Messenger::addMessage(
'info',
'In WebP Express 0.10, the "Redirect directly to converted image when available" option is no longer in beta. ' .
'You might want to go and activate it.'
);
}
}
// PSST: When creating new migration files, remember to update WEBPEXPRESS_MIGRATION_VERSION in admin.php
Option::updateOption('webp-express-migration-version', '4');
}
webpexpress_migrate4();