Making WordPress.org


Ignore:
Timestamp:
05/09/2015 10:47:54 AM (9 years ago)
Author:
ocean90
Message:

Rosetta Theme: Don't fall back to deprecated "shots" if a site has no header image yet.

Make height and width flexible so you can optimize header images for HiDPI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php

    r1476 r1559  
    66    add_theme_support( 'custom-header', array(
    77        'default-image' => false,
    8         'header-text' => false,
    9         'width' => 466,
    10         'height' => 303,
     8        'header-text'   => false,
     9        'width'         => 466,
     10        'height'        => 303,
     11        'flex-height'   => true,
     12        'flex-width'    => true,
    1113    ) );
    1214
Note: See TracChangeset for help on using the changeset viewer.