Twenty Fourteen: make twentyfourteen_post_thumbnail() pluggable.

Fixes #31374, props wordpressorru.

Built from https://develop.svn.wordpress.org/trunk@31481


git-svn-id: http://core.svn.wordpress.org/trunk@31462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2015-02-19 19:43:28 +00:00
parent add5f9bdf2
commit 5dc3b77be3
2 changed files with 3 additions and 1 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() ) :
/**

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-alpha-31480';
$wp_version = '4.2-alpha-31481';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.