Twenty Fourteen: make `twentyfourteen_post_thumbnail()` pluggable.

Fixes #31374, props wordpressorru.


git-svn-id: https://develop.svn.wordpress.org/trunk@31481 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2015-02-19 19:42:24 +00:00
parent 45d5c5ddbe
commit b30afb0349
1 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,7 @@ function twentyfourteen_category_transient_flusher() {
add_action( 'edit_category', 'twentyfourteen_category_transient_flusher' );
add_action( 'save_post', 'twentyfourteen_category_transient_flusher' );
if ( ! function_exists( 'twentyfourteen_post_thumbnail' ) ) :
/**
* Display an optional post thumbnail.
*
@ -201,6 +202,7 @@ function twentyfourteen_post_thumbnail() {
<?php endif; // End is_singular()
}
endif;
if ( ! function_exists( 'twentyfourteen_excerpt_more' ) && ! is_admin() ) :
/**