Make WordPress Core


Ignore:
Timestamp:
03/10/2016 07:02:25 PM (8 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/src/wp-includes/general-template.php

    r36949 r36950  
    878878    $custom_logo_id = get_theme_mod( 'custom_logo' );
    879879    $size           = get_theme_support( 'custom-logo', 'size' );
     880
     881    if ( ! $size ) {
     882        $size = 'full';
     883    }
    880884
    881885    // We have a logo. Logo is go.
Note: See TracChangeset for help on using the changeset viewer.