Changeset 24434
- Timestamp:
- 06/18/2013 09:40:14 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/twentyeleven/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/functions.php
r24194 r24434 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. 466 * 465 467 * @return string 466 468 */ 467 469 function twentyeleven_get_first_url() { 468 $has_url = function_exists( 'get_the_post_format_url' ) ? get_the_post_format_url() : false; 470 $content = get_the_content(); 471 $has_url = function_exists( 'get_content_url' ) ? get_content_url( $content ) : false; 469 472 470 473 if ( ! $has_url )
Note: See TracChangeset
for help on using the changeset viewer.