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 | classes/Media/Upload/Upload.php +8 -0 2.2.9 → trunk View file →
@@ -33,8 +33,16 @@
33 33 'unoptimized' => _x( 'Unoptimized', 'Media Files', 'imagify' ),
34 34 'errors' => _x( 'Errors', 'Media Files', 'imagify' ),
35 35 ];
36 36
37 + /**
38 + * Nothing can be missing a next-gen version when no next-gen format is being generated,
39 + * so the filter would only ever return an empty list. Offer it when it can do something.
40 + */
41 + if ( ! empty( imagify_nextgen_images_formats() ) ) {
42 + $options['missing-nextgen'] = _x( 'Missing Next-Gen', 'Media Files', 'imagify' );
43 + }
44 +
37 45 echo '<label class="screen-reader-text" for="filter-by-optimization-status">' . esc_html__( 'Filter by status', 'imagify' ) . '</label>';
38 46 echo '<select id="filter-by-optimization-status" name="imagify-status">';
39 47 echo '<option value="0" selected="selected">' . esc_html__( 'All Media Files', 'imagify' ) . '</option>';
40 48