From 056e47fdefd1a194b29ddaa6753927b9cae3d3c7 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 22 Jan 2013 16:37:54 +0000 Subject: [PATCH] Use correct escaping function. props duck_. git-svn-id: https://develop.svn.wordpress.org/trunk@23321 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/class-wp-embed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-wp-embed.php b/wp-includes/class-wp-embed.php index 9404ba408a..c5381846f4 100644 --- a/wp-includes/class-wp-embed.php +++ b/wp-includes/class-wp-embed.php @@ -270,7 +270,7 @@ class WP_Embed { * @return string Linked URL or the original URL. */ function maybe_make_link( $url ) { - $output = ( $this->linkifunknown ) ? '' . esc_html($url) . '' : $url; + $output = ( $this->linkifunknown ) ? '' . esc_html($url) . '' : $url; return apply_filters( 'embed_maybe_make_link', $output, $url ); } }