Twenty Fifteen: Simplify twentyfifteen_the_custom_logo().

See b72e3d8059
See #35944.

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


git-svn-id: http://core.svn.wordpress.org/trunk@36911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Konstantin Obenland 2016-03-10 18:21:27 +00:00
parent 49ecfd6ae0
commit 91460e2af1
2 changed files with 3 additions and 5 deletions

View File

@ -246,14 +246,12 @@ if ( ! function_exists( 'twentyfifteen_the_custom_logo' ) ) :
/**
* Displays the optional custom logo.
*
* Returns early if the custom logo is not available.
* Does nothing if the custom logo is not available.
*
* @since Twenty Fifteen 1.5
*/
function twentyfifteen_the_custom_logo() {
if ( ! function_exists( 'the_custom_logo' ) ) {
return;
} else {
if ( function_exists( 'the_custom_logo' ) ) {
the_custom_logo();
}
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-beta3-36942';
$wp_version = '4.5-beta3-36943';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.