Make WordPress Core


Ignore:
Timestamp:
02/19/2015 07:42:24 PM (9 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: make twentyfourteen_post_thumbnail() pluggable.

Fixes #31374, props wordpressorru.

File:
1 edited

Legend:

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

    r30796 r31481  
    162162add_action( 'save_post',     'twentyfourteen_category_transient_flusher' );
    163163
     164if ( ! function_exists( 'twentyfourteen_post_thumbnail' ) ) :
    164165/**
    165166 * Display an optional post thumbnail.
     
    202203    <?php endif; // End is_singular()
    203204}
     205endif;
    204206
    205207if ( ! function_exists( 'twentyfourteen_excerpt_more' ) && ! is_admin() ) :
Note: See TracChangeset for help on using the changeset viewer.