We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76e1580 commit 3094049Copy full SHA for 3094049
1 file changed
php/class-delivery.php
@@ -387,6 +387,11 @@ public function is_deliverable( $attachment_id ) {
387
if ( $is ) {
388
$meta = wp_get_attachment_metadata( $attachment_id, true );
389
$is = ! empty( $meta['width'] ) && ! empty( $meta['height'] );
390
+
391
+ // Webm audio files don't have width and height.
392
+ if ( ! $is && ! empty( $meta['mime_type'] ) && 'audio/webm' === $meta['mime_type'] ) {
393
+ $is = true;
394
+ }
395
}
396
397
if ( ! $is ) {
0 commit comments