summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/ted.php')
-rw-r--r--plugins/jetpack/modules/shortcodes/ted.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/shortcodes/ted.php b/plugins/jetpack/modules/shortcodes/ted.php
index d5386109..f66f77d5 100644
--- a/plugins/jetpack/modules/shortcodes/ted.php
+++ b/plugins/jetpack/modules/shortcodes/ted.php
@@ -45,9 +45,9 @@ function shortcode_ted( $atts ) {
$args = array();
if ( is_numeric( $atts['width'] ) ) {
$args['width'] = $atts['width'];
- } else if ( $embed_size_w = get_option( 'embed_size_w' ) ) {
+ } elseif ( $embed_size_w = get_option( 'embed_size_w' ) ) {
$args['width'] = $embed_size_w;
- } else if ( ! empty( $GLOBALS['content_width'] ) ) {
+ } elseif ( ! empty( $GLOBALS['content_width'] ) ) {
$args['width'] = (int) $GLOBALS['content_width'];
} else {
$args['width'] = 500;