Skip to content

Commit 10c3226

Browse files
committed
Undeclared variable
1 parent 8b70ae1 commit 10c3226

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ableplayer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ function ableplayer_shortcode( $atts, $content = null ) {
421421
$atts,
422422
'ableplayer'
423423
);
424+
$source = '';
424425

425426
if ( ! ( $all_atts['youtube-id'] || $all_atts['vimeo-id'] || $all_atts['media-id'] ) ) {
426427
// Shortcode must have one of YouTube, Vimeo, or local video source.

0 commit comments

Comments
 (0)