Make WordPress Core


Ignore:
Timestamp:
03/10/2016 07:02:25 PM (11 years ago)
Author:
obenland
Message:

Template: Explicitly set full as the default custom logo size.

See #33755.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/general/template.php

    r36949 r36950  
    281281                $home_url = get_home_url( $blog_id, '/' );
    282282                $size     = get_theme_support( 'custom-logo', 'size' );
     283                $size     = $size ? $size : 'full';
    283284                $image    = wp_get_attachment_image( $this->custom_logo_id, $size, false, array(
    284285                        'class'     => "custom-logo attachment-$size",
    … …  
    303304                $this->_set_custom_logo();
    304305                $size  = get_theme_support( 'custom-logo', 'size' );
     306                $size  = $size ? $size : 'full';
    305307                $image = wp_get_attachment_image( $this->custom_logo_id, $size, false, array(
    306308                        'class'     => "custom-logo attachment-$size",
Note: See TracChangeset for help on using the changeset viewer.