From d39732611654e6d61602bd9982279737ac458df1 Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 18 Nov 2010 02:17:13 +0000 Subject: [PATCH] When inserting an image via oEmbed, wrap it in a link. props MarkJaquith, fixes #14945. git-svn-id: http://svn.automattic.com/wordpress/trunk@16444 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-oembed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index a09b316768..87e59a69b0 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -242,7 +242,7 @@ class WP_oEmbed { return false; $title = ( !empty($data->title) ) ? $data->title : ''; - $return = '' . esc_attr($title) . ''; + $return = '' . esc_attr($title) . ''; break; case 'video':