Changeset 24682 for trunk/wp-content/themes/twentythirteen/functions.php
- Timestamp:
- 07/12/2013 07:34:59 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/functions.php
r24541 r24682 485 485 * Returns the URL from the post. 486 486 * 487 * @uses get_ content_url() to get the URL in the post meta (if it exists) or487 * @uses get_url_in_content() to get the URL in the post meta (if it exists) or 488 488 * the first link found in the post content. 489 489 * … … 496 496 function twentythirteen_get_link_url() { 497 497 $content = get_the_content(); 498 $has_url = get_ content_url( $content );498 $has_url = get_url_in_content( $content ); 499 499 500 500 return ( $has_url ) ? $has_url : apply_filters( 'the_permalink', get_permalink() );
Note: See TracChangeset
for help on using the changeset viewer.