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 76e1580 commit 4a56c58Copy full SHA for 4a56c58
php/class-delivery.php
@@ -1461,6 +1461,12 @@ public function parse_element( $element ) {
1461
// Break element up.
1462
$attributes = shortcode_parse_atts( $element );
1463
$tag_element['tag'] = array_shift( $attributes );
1464
+
1465
+ // Skip audio source tags.
1466
+ if ( ! empty( $attributes['type'] ) && 0 === strpos( $attributes['type'], 'audio/' ) && 'source' === $tag_element['tag'] ) {
1467
+ return null;
1468
+ }
1469
1470
// Context Switch Check.
1471
if ( 'article' === $tag_element['tag'] ) {
1472
if ( ! empty( $attributes['id'] ) && false !== strpos( $attributes['id'], 'post-' ) ) {
0 commit comments