WordPress.org

Make WordPress Core

Ticket #24033: 24033.diff

File 24033.diff, 2.7 KB (added by lancewillett, 5 years ago)
  • wp-content/themes/twentyten/functions.php

     
    200200 */
    201201function twentyten_admin_header_style() {
    202202?>
    203 <style type="text/css">
     203<style type="text/css" id="twentyten-header-css">
    204204/* Shows the same border as on front end */
    205205#headimg {
    206206        border-bottom: 1px solid #000;
  • wp-content/themes/twentytwelve/inc/custom-header.php

     
    7676
    7777        // If we get this far, we have custom styles.
    7878        ?>
    79         <style type="text/css">
     79        <style type="text/css" id="twentytwelve-header-css">
    8080        <?php
    8181                // Has the text been hidden?
    8282                if ( ! display_header_text() ) :
     
    107107 */
    108108function twentytwelve_admin_header_style() {
    109109?>
    110         <style type="text/css">
     110        <style type="text/css" id="twentytwelve-header-css">
    111111        .appearance_page_custom-header #headimg {
    112112                border: none;
    113113                font-family: "Open Sans", ​Helvetica,​ Arial, ​sans-serif;
  • wp-content/themes/twentyeleven/functions.php

     
    224224
    225225        // If we get this far, we have custom styles. Let's do this.
    226226        ?>
    227         <style type="text/css">
     227        <style type="text/css" id="twentyeleven-header-css">
    228228        <?php
    229229                // Has the text been hidden?
    230230                if ( 'blank' == $text_color ) :
     
    259259 */
    260260function twentyeleven_admin_header_style() {
    261261?>
    262         <style type="text/css">
     262        <style type="text/css" id="twentyeleven-admin-header-css">
    263263        .appearance_page_custom-header #headimg {
    264264                border: none;
    265265        }
  • wp-content/themes/twentythirteen/inc/custom-header.php

     
    8080
    8181        // If we get this far, we have custom styles.
    8282        ?>
    83         <style type="text/css">
     83        <style type="text/css" id="twentythirteen-header-css">
    8484        <?php
    8585                if ( ! empty( $header_image ) ) :
    8686        ?>
     
    129129function twentythirteen_admin_header_style() {
    130130        $header_image = get_header_image();
    131131?>
    132         <style type="text/css">
     132        <style type="text/css" id="twentythirteen-admin-header-css">
    133133        .appearance_page_custom-header #headimg {
    134134                border: none;
    135135                -webkit-box-sizing: border-box;