WordPress.org

Make WordPress Core

Ticket #38391: 38391.2.patch

File 38391.2.patch, 1.1 KB (added by davidakennedy, 5 years ago)

Removes default header text color and unused variable.

  • src/wp-content/themes/twentyseventeen/inc/custom-header.php

     
    3535         */
    3636        add_theme_support( 'custom-header', apply_filters( 'twentyseventeen_custom_header_args', array(
    3737                'default-image'      => get_parent_theme_file_uri( '/assets/images/header.jpg' ),
    38                 'default-text-color' => 'ffffff',
    3938                'width'              => 2000,
    4039                'height'             => 1200,
    4140                'flex-height'        => true,
  • src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php

     
    1111?>
    1212<div class="custom-header">
    1313        <?php
    14         $header_image = get_header_image();
    1514
    1615        // Check if Custom Header image has been added.
    1716        if ( has_custom_header() ) :