Changeset 24709
- Timestamp:
- 07/16/2013 12:21:09 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/functions.php
r24434 r24709 463 463 * post permalink is used as a fallback. 464 464 * 465 * @uses get_ content_url() to get the first URL from the post content.465 * @uses get_url_in_content() to get the first URL from the post content. 466 466 * 467 467 * @return string … … 469 469 function twentyeleven_get_first_url() { 470 470 $content = get_the_content(); 471 $has_url = function_exists( 'get_ content_url' ) ? get_content_url( $content ) : false;471 $has_url = function_exists( 'get_url_in_content' ) ? get_url_in_content( $content ) : false; 472 472 473 473 if ( ! $has_url )
Note: See TracChangeset
for help on using the changeset viewer.