In `wp-admin/custom-header.php`, `$default_color` is set twice before it is used. The first is unnecessary.
See #27882. Built from https://develop.svn.wordpress.org/trunk@28290 git-svn-id: http://core.svn.wordpress.org/trunk@28118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97e6942e4a
commit
d3dd9916d8
|
@ -626,7 +626,7 @@ class Custom_Image_Header {
|
|||
<p>
|
||||
<?php
|
||||
$header_textcolor = display_header_text() ? get_header_textcolor() : get_theme_support( 'custom-header', 'default-text-color' );
|
||||
$default_color = '';
|
||||
|
||||
if ( current_theme_supports( 'custom-header', 'default-text-color' ) ) {
|
||||
$default_color = '#' . get_theme_support( 'custom-header', 'default-text-color' );
|
||||
$default_color_attr = ' data-default-color="' . esc_attr( $default_color ) . '"';
|
||||
|
|
Loading…
Reference in New Issue