wp-content/themes/twentytwelve/inc/custom-header.php:70Style the header text displayed on the blog.
function twentytwelve_header_style() { $text_color = get_header_textcolor(); // If no custom options for text are set, let's bail. if ( get_theme_support( 'custom-header', 'default-text-color' ) === $text_color ) { return; } // If we get this far, we have custom styles. ?> <style type="text/css" id="twentytwelve-header-css"> <?php // Has the text been hidden? if ( ! display_header_text() ) : ?> .site-title, .site-description { position: absolute; clip: rect(1px 1px 1px 1px); /* IE7 */ clip: rect(1px, 1px, 1px, 1px); } <?php // If the user has set a custom color for the text, use that. else : ?> .site-header h1 a, .site-header h2 { color: #<?php echo $text_color; ?>; } <?php endif; ?> </style> <?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.