From 3fdd4ee29f2df0a6fe90aeafc408f8eb330c5372 Mon Sep 17 00:00:00 2001 From: duck_ Date: Sun, 22 Apr 2012 11:19:56 +0000 Subject: [PATCH] wp_oembed_get() returns false on failure. Props SergeyBiryukov. Fixes #20355. git-svn-id: http://svn.automattic.com/wordpress/trunk@20562 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index c4370d1f9..b0c82de95 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1378,7 +1378,7 @@ function wp_expand_dimensions( $example_width, $example_height, $max_width, $max * * @param string $url The URL that should be embedded. * @param array $args Additional arguments and parameters. - * @return string The original URL on failure or the embed HTML on success. + * @return bool|string False on failure or the embed HTML on success. */ function wp_oembed_get( $url, $args = '' ) { require_once( ABSPATH . WPINC . '/class-oembed.php' );