We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff05644 commit 1640ca2Copy full SHA for 1640ca2
php/class-delivery.php
@@ -369,7 +369,7 @@ public function is_deliverable( $attachment_id ) {
369
370
$svg = $this->plugin->get_component( 'svg' );
371
372
- if ( ! $is && wp_attachment_is_image( $attachment_id ) && $svg->is_active() ) {
+ if ( ! $is && $svg->is_active() && $svg::is_svg( $attachment_id ) ) {
373
$is = true;
374
}
375
0 commit comments