| @@ -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. |