diff --git a/src/wp-content/themes/twentyfifteen/inc/template-tags.php b/src/wp-content/themes/twentyfifteen/inc/template-tags.php index 161f0caed5..fb6004ec38 100644 --- a/src/wp-content/themes/twentyfifteen/inc/template-tags.php +++ b/src/wp-content/themes/twentyfifteen/inc/template-tags.php @@ -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(); } }