In wp-admin/custom-header.php
, $default_color
is set twice before it is used. The first is unnecessary.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28290 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ab01399666
commit
88ad28ffdf
@ -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
Block a user