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/Noop.php +5 -2 1.10 → trunk View file →
@@ -1,8 +1,11 @@
1 1 <?php
2 2 namespace Imagify\Media;
3 3
4 -defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
4 +use Imagify\CDN\PushCDNInterface;
5 +use Imagify\Context\ContextInterface;
6 +use Imagify\Deprecated\Traits\Media\NoopDeprecatedTrait;
7 +use WP_Error;
5 8
6 9 /**
7 10 * Fallback class for "media groups" (aka attachments).
8 11 *
@@ -9,9 +12,9 @@
9 12 * @since 1.9
10 13 * @author Grégory Viguier
11 14 */
12 15 class Noop implements MediaInterface {
13 - use \Imagify\Deprecated\Traits\Media\NoopDeprecatedTrait;
16 + use NoopDeprecatedTrait;
14 17
15 18 /**
16 19 * Tell if the given entry can be accepted in the constructor.
17 20 * For example it can include `is_numeric( $id )` if the constructor accepts integers.