WordPress.org

Make WordPress Core

Changeset 28290


Ignore:
Timestamp:
05/06/2014 02:50:05 PM (7 years ago)
Author:
wonderboymusic
Message:

In wp-admin/custom-header.php, $default_color is set twice before it is used. The first is unnecessary.

See #27882.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/custom-header.php

    r28275 r28290  
    627627<?php
    628628$header_textcolor = display_header_text() ? get_header_textcolor() : get_theme_support( 'custom-header', 'default-text-color' );
    629 $default_color = '';
     629
    630630if ( current_theme_supports( 'custom-header', 'default-text-color' ) ) {
    631631    $default_color = '#' . get_theme_support( 'custom-header', 'default-text-color' );
Note: See TracChangeset for help on using the changeset viewer.