WordPress.org

Make WordPress Core

Ticket #21505: 21505.diff

File 21505.diff, 663 bytes (added by kovshenin, 6 years ago)
  • functions.php

     
    131131                // Callback used to display the header preview in the admin.
    132132                'admin-preview-callback' => 'twentyeleven_admin_header_image',
    133133        );
    134        
     134
    135135        add_theme_support( 'custom-header', $custom_header_support );
    136136
    137137        if ( ! function_exists( 'get_custom_header' ) ) {
     
    221221        // If no custom options for text are set, let's bail.
    222222        if ( $text_color == HEADER_TEXTCOLOR )
    223223                return;
    224                
     224
    225225        // If we get this far, we have custom styles. Let's do this.
    226226        ?>
    227227        <style type="text/css">