WordPress.org

Make WordPress Core

Ticket #21627: theme.diff

File theme.diff, 426 bytes (added by Horttcore, 7 years ago)

Filter applied to css selector

  • theme.php

     
    11581158        }
    11591159?>
    11601160<style type="text/css" id="custom-background-css">
    1161 body.custom-background { <?php echo trim( $style ); ?> }
     1161<?php echo apply_filters( 'custom_background_selector', 'body.custom-background' ) ?> { <?php echo trim( $style ); ?> }
    11621162</style>
    11631163<?php
    11641164}