Make WordPress Core


Ignore:
Timestamp:
04/04/2013 08:09:02 AM (12 years ago)
Author:
markjaquith
Message:

Standardize the post format theme API functions with the_post_format_THING() and get_the_post_format_THING().

fixes #23927

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/functions.php

    r23824 r23899  
    466466 */
    467467function twentyeleven_get_first_url() {
    468     $has_url = function_exists( 'get_the_url' ) ? get_the_url() : false;
     468    $has_url = function_exists( 'get_the_post_format_url' ) ? get_the_post_format_url() : false;
    469469
    470470    if ( ! $has_url )
Note: See TracChangeset for help on using the changeset viewer.