wp-content/themes/twentytwelve/inc/custom-header.php:151Output markup to be displayed on the Appearance > Header admin panel.
function twentytwelve_admin_header_image() { $style = 'color: #' . get_header_textcolor() . ';'; if ( ! display_header_text() ) { $style = 'display: none;'; } ?> <div id="headimg"> <h1 class="displaying-header-text"><a id="name" style="<?php echo esc_attr( $style ); ?>" onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1> <h2 id="desc" class="displaying-header-text" style="<?php echo esc_attr( $style ); ?>"><?php bloginfo( 'description' ); ?></h2> <?php $header_image = get_header_image(); if ( ! empty( $header_image ) ) : ?> <img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="" /> <?php endif; ?> </div> <?php}Introduced in Twenty Twelve 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentytwelve/inc/custom-header.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.