X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/af50974463450c98503e763a7836a50e260461a9..febc815b2c9d85be5717da9e8d164bd2daa97e31:/wp-content/themes/twentyfourteen/inc/template-tags.php diff --git a/wp-content/themes/twentyfourteen/inc/template-tags.php b/wp-content/themes/twentyfourteen/inc/template-tags.php index 084f97ae..f63ee828 100644 --- a/wp-content/themes/twentyfourteen/inc/template-tags.php +++ b/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. * @@ -168,6 +169,7 @@ add_action( 'save_post', 'twentyfourteen_category_transient_flusher' ); * views, or a div element when on single views. * * @since Twenty Fourteen 1.0 + * @since Twenty Fourteen 1.4 Was made 'pluggable', or overridable. */ function twentyfourteen_post_thumbnail() { if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { @@ -201,6 +203,7 @@ function twentyfourteen_post_thumbnail() {