Ticket #39145: 39145.diff
File 39145.diff, 596 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/theme.php
1554 1554 $style = $color ? "background-color: #$color;" : ''; 1555 1555 1556 1556 if ( $background ) { 1557 $image = " background-image: url(" . wp_json_encode( $background ) . ");";1557 $image = " background-image: url(" . esc_url( $background ) . ");"; 1558 1558 1559 1559 // Background Position. 1560 1560 $position_x = get_theme_mod( 'background_position_x', get_theme_support( 'custom-background', 'default-position-x' ) );