Make WordPress Core

Ticket #36332: 36332.diff

File 36332.diff, 405 bytes (added by obenland, 10 years ago)
  • src/wp-includes/theme.php

     
    15601560                        break;
    15611561
    15621562                case 'custom-logo':
     1563                        if ( ! is_array( $args ) ) {
     1564                                $args = array( 0 => array() );
     1565                        }
    15631566                        $defaults = array(
    15641567                                'width'       => null,
    15651568                                'height'      => null,