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
508cbd464b
commit
245c2111f0
|
@ -224,7 +224,7 @@ function twentyeleven_header_style() {
|
|||
|
||||
// If we get this far, we have custom styles. Let's do this.
|
||||
?>
|
||||
<style type="text/css">
|
||||
<style type="text/css" id="twentyeleven-header-css">
|
||||
<?php
|
||||
// Has the text been hidden?
|
||||
if ( 'blank' == $text_color ) :
|
||||
|
@ -259,7 +259,7 @@ if ( ! function_exists( 'twentyeleven_admin_header_style' ) ) :
|
|||
*/
|
||||
function twentyeleven_admin_header_style() {
|
||||
?>
|
||||
<style type="text/css">
|
||||
<style type="text/css" id="twentyeleven-admin-header-css">
|
||||
.appearance_page_custom-header #headimg {
|
||||
border: none;
|
||||
}
|
||||
|
|
|
@ -200,7 +200,7 @@ if ( ! function_exists( 'twentyten_admin_header_style' ) ) :
|
|||
*/
|
||||
function twentyten_admin_header_style() {
|
||||
?>
|
||||
<style type="text/css">
|
||||
<style type="text/css" id="twentyten-header-css">
|
||||
/* Shows the same border as on front end */
|
||||
#headimg {
|
||||
border-bottom: 1px solid #000;
|
||||
|
|
|
@ -80,7 +80,7 @@ function twentythirteen_header_style() {
|
|||
|
||||
// If we get this far, we have custom styles.
|
||||
?>
|
||||
<style type="text/css">
|
||||
<style type="text/css" id="twentythirteen-header-css">
|
||||
<?php
|
||||
if ( ! empty( $header_image ) ) :
|
||||
?>
|
||||
|
@ -129,7 +129,7 @@ function twentythirteen_header_style() {
|
|||
function twentythirteen_admin_header_style() {
|
||||
$header_image = get_header_image();
|
||||
?>
|
||||
<style type="text/css">
|
||||
<style type="text/css" id="twentythirteen-admin-header-css">
|
||||
.appearance_page_custom-header #headimg {
|
||||
border: none;
|
||||
-webkit-box-sizing: border-box;
|
||||
|
|
|
@ -76,7 +76,7 @@ function twentytwelve_header_style() {
|
|||
|
||||
// If we get this far, we have custom styles.
|
||||
?>
|
||||
<style type="text/css">
|
||||
<style type="text/css" id="twentytwelve-header-css">
|
||||
<?php
|
||||
// Has the text been hidden?
|
||||
if ( ! display_header_text() ) :
|
||||
|
@ -107,7 +107,7 @@ function twentytwelve_header_style() {
|
|||
*/
|
||||
function twentytwelve_admin_header_style() {
|
||||
?>
|
||||
<style type="text/css">
|
||||
<style type="text/css" id="twentytwelve-header-css">
|
||||
.appearance_page_custom-header #headimg {
|
||||
border: none;
|
||||
font-family: "Open Sans", Helvetica, Arial, sans-serif;
|
||||
|
|
Loading…
Reference in New Issue