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
This commit is contained in:
Konstantin Obenland 2016-03-10 19:03:26 +00:00
parent 3e82e111e1
commit ff3babeb53
2 changed files with 5 additions and 1 deletions

View File

@ -878,6 +878,10 @@ function get_custom_logo( $blog_id = 0 ) {
$custom_logo_id = get_theme_mod( 'custom_logo' ); $custom_logo_id = get_theme_mod( 'custom_logo' );
$size = get_theme_support( 'custom-logo', 'size' ); $size = get_theme_support( 'custom-logo', 'size' );
if ( ! $size ) {
$size = 'full';
}
// We have a logo. Logo is go. // We have a logo. Logo is go.
if ( $custom_logo_id ) { if ( $custom_logo_id ) {
$html = sprintf( '<a href="%1$s" class="custom-logo-link" rel="home" itemprop="url">%2$s</a>', $html = sprintf( '<a href="%1$s" class="custom-logo-link" rel="home" itemprop="url">%2$s</a>',

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.