Make WordPress Core

Ticket #25379: theme.diff

File theme.diff, 660 bytes (added by miyauchi, 12 years ago)

patch for wp-include/theme.php

  • wp-includes/theme.php

     
    11881188
    11891189                $style .= $image . $repeat . $position . $attachment;
    11901190        }
     1191
     1192    $css_selector = apply_filters( 'custom_background_css_selector', 'body.custom-background' );
     1193
    11911194?>
    11921195<style type="text/css" id="custom-background-css">
    1193 body.custom-background { <?php echo trim( $style ); ?> }
     1196<?php echo trim( $css_selector ); ?> { <?php echo trim( $style ); ?> }
    11941197</style>
    11951198<?php
    11961199}
     
    17501753                }());
    17511754        </script>
    17521755        <?php
    1753 }
    1754  No newline at end of file
     1756}