From a65a4e664d6705f35e438431574269db0b5e5dcc Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 16 Jul 2013 00:21:09 +0000 Subject: [PATCH] Twenty Eleven: use the new URL extraction function name, see #24202 and r24682. git-svn-id: http://core.svn.wordpress.org/trunk@24709 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentyeleven/functions.php b/wp-content/themes/twentyeleven/functions.php index 751635063d..3d269676c9 100644 --- a/wp-content/themes/twentyeleven/functions.php +++ b/wp-content/themes/twentyeleven/functions.php @@ -462,13 +462,13 @@ endif; // twentyeleven_content_nav * Return the first link from the post content. If none found, the * post permalink is used as a fallback. * - * @uses get_content_url() to get the first URL from the post content. + * @uses get_url_in_content() to get the first URL from the post content. * * @return string */ function twentyeleven_get_first_url() { $content = get_the_content(); - $has_url = function_exists( 'get_content_url' ) ? get_content_url( $content ) : false; + $has_url = function_exists( 'get_url_in_content' ) ? get_url_in_content( $content ) : false; if ( ! $has_url ) $has_url = twentyeleven_url_grabber();