diff --git a/header.php b/header.php index 4439627be..c3b99d6f3 100644 --- a/header.php +++ b/header.php @@ -46,7 +46,7 @@ - <?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?> + <?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?> diff --git a/inc/custom-header.php b/inc/custom-header.php index 693249028..45174d476 100644 --- a/inc/custom-header.php +++ b/inc/custom-header.php @@ -147,19 +147,17 @@ function twentytwelve_admin_header_style() { * @since Twenty Twelve 1.0 */ function twentytwelve_admin_header_image() { + $style = 'color: #' . get_header_textcolor() . ';'; + if ( ! display_header_text() ) { + $style = 'display: none;'; + } ?>
- -

onclick="return false;" href="" tabindex="-1">

-

>

+

+

- +