From b30afb034911f6ddb8089dcd81ea92ff783f9e43 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 19 Feb 2015 19:42:24 +0000 Subject: [PATCH] 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 --- src/wp-content/themes/twentyfourteen/inc/template-tags.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-content/themes/twentyfourteen/inc/template-tags.php b/src/wp-content/themes/twentyfourteen/inc/template-tags.php index 084f97ae1f..1d7576f06c 100644 --- a/src/wp-content/themes/twentyfourteen/inc/template-tags.php +++ b/src/wp-content/themes/twentyfourteen/inc/template-tags.php @@ -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() {