diff options
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/brightcove.php')
-rw-r--r-- | plugins/jetpack/modules/shortcodes/brightcove.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/shortcodes/brightcove.php b/plugins/jetpack/modules/shortcodes/brightcove.php index 8dbc9fd5..c774c915 100644 --- a/plugins/jetpack/modules/shortcodes/brightcove.php +++ b/plugins/jetpack/modules/shortcodes/brightcove.php @@ -56,7 +56,7 @@ class Jetpack_Brightcove_Shortcode { * @return array */ static public function normalize_attributes( $atts ) { - if ( 1 == count( $atts ) ) { // this is the case we need to take care of. + if ( is_array( $atts ) && 1 == count( $atts ) ) { // this is the case we need to take care of. $parsed_atts = array(); $params = shortcode_new_to_old_params( $atts ); $params = apply_filters( 'brightcove_dimensions', $params ); |