Twenty Eleven: ensure twentyeleven_url_grabber() is pluggable by wrapping in a function_exists check.

git-svn-id: http://core.svn.wordpress.org/trunk@23474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-02-22 16:50:40 +00:00
parent e17790bff2
commit 3dd379a1be

View File

@ -458,6 +458,7 @@ function twentyeleven_content_nav( $html_id ) {
}
endif; // twentyeleven_content_nav
if ( ! function_exists( 'twentyeleven_url_grabber' ) ) :
/**
* Return the URL for the first link found in the post content.
*
@ -470,6 +471,7 @@ function twentyeleven_url_grabber() {
return esc_url_raw( $matches[1] );
}
endif;
/**
* Count the number of footer sidebars to enable dynamic classes for the footer