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:
parent
add5f9bdf2
commit
5dc3b77be3
|
@ -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() ) :
|
||||
/**
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue