diff options
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/flickr.php')
-rw-r--r-- | plugins/jetpack/modules/shortcodes/flickr.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/shortcodes/flickr.php b/plugins/jetpack/modules/shortcodes/flickr.php index d145dde7..9fc9a0be 100644 --- a/plugins/jetpack/modules/shortcodes/flickr.php +++ b/plugins/jetpack/modules/shortcodes/flickr.php @@ -17,7 +17,7 @@ */ function flickr_embed_to_shortcode( $content ) { - if ( false === stripos( $content, '/www.flickr.com/apps/video/stewart.swf' ) ) { + if ( ! is_string( $content ) || false === stripos( $content, '/www.flickr.com/apps/video/stewart.swf' ) ) { return $content; } @@ -102,7 +102,6 @@ function flickr_shortcode_handler( $atts ) { 'w' => 400, 'h' => 300, 'secret' => 0, - 'size' => 0, ), $atts, 'flickr' ); |