diff --git a/modules/shortcodes/dailymotion.php b/modules/shortcodes/dailymotion.php index ceccda63b8890..daa3b72d7836d 100644 --- a/modules/shortcodes/dailymotion.php +++ b/modules/shortcodes/dailymotion.php @@ -124,7 +124,7 @@ function dailymotion_shortcode( $atts ) { } } - if ( isset( $atts['id'] ) ) { + if ( isset( $atts['id'] ) && ! empty( $atts['id'] ) ) { $id = $atts['id']; } else { return '';