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.
2 parents 016e533 + 4a56c58 commit a64d00eCopy full SHA for a64d00e
php/class-delivery.php
@@ -1478,6 +1478,12 @@ public function parse_element( $element ) {
1478
// Break element up.
1479
$attributes = shortcode_parse_atts( $element );
1480
$tag_element['tag'] = array_shift( $attributes );
1481
+
1482
+ // Skip audio source tags.
1483
+ if ( ! empty( $attributes['type'] ) && 0 === strpos( $attributes['type'], 'audio/' ) && 'source' === $tag_element['tag'] ) {
1484
+ return null;
1485
+ }
1486
1487
// Context Switch Check.
1488
if ( 'article' === $tag_element['tag'] ) {
1489
if ( ! empty( $attributes['id'] ) && false !== strpos( $attributes['id'], 'post-' ) ) {
0 commit comments