mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Template: Explicitly set full as the default custom logo size.
See #33755. git-svn-id: https://develop.svn.wordpress.org/trunk@36950 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -280,6 +280,7 @@ class Tests_General_Template extends WP_UnitTestCase {
|
||||
$this->_set_custom_logo();
|
||||
$home_url = get_home_url( $blog_id, '/' );
|
||||
$size = get_theme_support( 'custom-logo', 'size' );
|
||||
$size = $size ? $size : 'full';
|
||||
$image = wp_get_attachment_image( $this->custom_logo_id, $size, false, array(
|
||||
'class' => "custom-logo attachment-$size",
|
||||
'data-size' => $size,
|
||||
@@ -302,6 +303,7 @@ class Tests_General_Template extends WP_UnitTestCase {
|
||||
|
||||
$this->_set_custom_logo();
|
||||
$size = get_theme_support( 'custom-logo', 'size' );
|
||||
$size = $size ? $size : 'full';
|
||||
$image = wp_get_attachment_image( $this->custom_logo_id, $size, false, array(
|
||||
'class' => "custom-logo attachment-$size",
|
||||
'data-size' => $size,
|
||||
|
||||
Reference in New Issue
Block a user