Bundled themes: add identifier to `style` elements added by the theme. Fixes #24033.
git-svn-id: http://core.svn.wordpress.org/trunk@24001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d6aff5eb16
commit
8b9895ec49
|
@ -76,7 +76,7 @@ function twentytwelve_header_style() {
|
||||||
|
|
||||||
// If we get this far, we have custom styles.
|
// If we get this far, we have custom styles.
|
||||||
?>
|
?>
|
||||||
<style type="text/css">
|
<style type="text/css" id="twentytwelve-header-css">
|
||||||
<?php
|
<?php
|
||||||
// Has the text been hidden?
|
// Has the text been hidden?
|
||||||
if ( ! display_header_text() ) :
|
if ( ! display_header_text() ) :
|
||||||
|
@ -107,7 +107,7 @@ function twentytwelve_header_style() {
|
||||||
*/
|
*/
|
||||||
function twentytwelve_admin_header_style() {
|
function twentytwelve_admin_header_style() {
|
||||||
?>
|
?>
|
||||||
<style type="text/css">
|
<style type="text/css" id="twentytwelve-header-css">
|
||||||
.appearance_page_custom-header #headimg {
|
.appearance_page_custom-header #headimg {
|
||||||
border: none;
|
border: none;
|
||||||
font-family: "Open Sans", Helvetica, Arial, sans-serif;
|
font-family: "Open Sans", Helvetica, Arial, sans-serif;
|
||||||
|
|
Loading…
Reference in New Issue