Make WordPress Core


Ignore:
Timestamp:
11/14/2013 04:49:19 AM (13 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: simplify and prefix post thumbnail sizes, props obenland. See #25946.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php

    r26020 r26152  
    159159
    160160                                                                        if ( has_post_thumbnail() ) :
    161                                                                                 $post_thumbnail = get_the_post_thumbnail( get_the_ID(), 'post-thumbnail' );
     161                                                                                $post_thumbnail = get_the_post_thumbnail();
    162162                                                                        elseif ( $total_images > 0 ) :
    163163                                                                                $image          = array_shift( $images );
Note: See TracChangeset for help on using the changeset viewer.