From ff3babeb53c3bc63fb3e771103661f356e6e9187 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Thu, 10 Mar 2016 19:03:26 +0000 Subject: [PATCH] Template: Explicitly set `full` as the default custom logo size. See #33755. Built from https://develop.svn.wordpress.org/trunk@36950 git-svn-id: http://core.svn.wordpress.org/trunk@36918 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index e8e936cbc4..8a3a71cd6c 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -878,6 +878,10 @@ function get_custom_logo( $blog_id = 0 ) { $custom_logo_id = get_theme_mod( 'custom_logo' ); $size = get_theme_support( 'custom-logo', 'size' ); + if ( ! $size ) { + $size = 'full'; + } + // We have a logo. Logo is go. if ( $custom_logo_id ) { $html = sprintf( '', diff --git a/wp-includes/version.php b/wp-includes/version.php index e4916026e5..53f4660ca7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta3-36949'; +$wp_version = '4.5-beta3-36950'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.