PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / trunk
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF vtrunk
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
← All changes | inc/functions/api.php +8 -1 2.2.8 → trunk View file →
@@ -222,8 +222,15 @@
222 222 '</a>'
223 223 ),
224 224 'Your image is too big to be uploaded on our server' => __( 'Your file is too big to be uploaded on our server.', 'imagify' ),
225 225 'Webp is less performant than original' => __( 'WebP file is larger than the original image', 'imagify' ),
226 +
227 + /*
228 + * The AVIF wording below has not been confirmed against a live API response: it mirrors the WebP
229 + * pattern. Both casings are mapped so the message is translated whichever one the API returns.
230 + */
231 + 'Avif is less performant than original' => __( 'AVIF file is larger than the original image', 'imagify' ),
232 + 'AVIF is less performant than original' => __( 'AVIF file is larger than the original image', 'imagify' ),
226 233 'Our server returned an invalid response' => __( 'Our server returned an invalid response.', 'imagify' ),
227 234 'cURL isn\'t installed on the server' => __( 'cURL is not available on the server.', 'imagify' ),
228 235 // API messages.
229 236 'Authentification not provided' => __( 'Authentication not provided.', 'imagify' ),
@@ -306,9 +313,9 @@
306 313 *
307 314 * @return void
308 315 */
309 316 function imagify_generate_nextgen( $contexts ) {
310 - Imagify\Bulk\Bulk::get_instance()->run_generate_nextgen( $contexts );
317 + Imagify\Bulk\Bulk::get_instance()->run_generate_nextgen( $contexts, imagify_nextgen_images_formats() );
311 318 }
312 319
313 320 /**
314 321 * Add command to WP CLI