We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34e5b2b commit 0481110Copy full SHA for 0481110
ableplayer.php.html
@@ -493,7 +493,7 @@
493
);
494
// Switch locale to BCP47 syntax.
495
$default_lang = str_replace( '_', '-', get_locale() );
496
- if ( $all_atts['captions'] || $all_atts['subtitles'] || $all_atts['description'] || $all_atts['chapters'] ) {
+ if ( $all_atts['captions'] || $all_atts['subtitles'] || $all_atts['descriptions'] || $all_atts['chapters'] ) {
497
foreach ( $kinds as $kind => $default_label ) {
498
$track = '';
499
if ( ! empty( $all_atts[ $kind ] ) ) {
0 commit comments