diff options
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/ted.php')
-rw-r--r-- | plugins/jetpack/modules/shortcodes/ted.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/jetpack/modules/shortcodes/ted.php b/plugins/jetpack/modules/shortcodes/ted.php index 4edc2882..f49184ef 100644 --- a/plugins/jetpack/modules/shortcodes/ted.php +++ b/plugins/jetpack/modules/shortcodes/ted.php @@ -5,8 +5,8 @@ * * http://www.ted.com/talks/view/id/210 * http://www.ted.com/talks/marc_goodman_a_vision_of_crimes_in_the_future.html - * [ted id="210" lang="eng"] - * [ted id="http://www.ted.com/talks/view/id/210" lang="eng"] + * [ted id="210" lang="en"] + * [ted id="http://www.ted.com/talks/view/id/210" lang="en"] * [ted id=1539 lang=fr width=560 height=315] */ @@ -25,9 +25,9 @@ function shortcode_ted( $atts, $content = '' ) { 'id' => '', 'width' => '', 'height' => '', - 'lang' => 'eng', + 'lang' => 'en', ); - $atts = shortcode_atts( $defaults, $atts ); + $atts = shortcode_atts( $defaults, $atts, 'ted' ); if ( empty( $atts['id'] ) ) return '<!-- Missing TED ID -->'; |