Changeset 29206 for trunk/src/wp-admin/custom-background.php
- Timestamp:
- 07/17/2014 09:13:53 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/custom-background.php
r29165 r29206 257 257 if ( get_background_image() ) { 258 258 $background_image_thumb = esc_url( set_url_scheme( get_theme_mod( 'background_image_thumb', str_replace( '%', '%%', get_background_image() ) ) ) ); 259 // background-image URL must be single quote, see below 259 260 // Background-image URL must be single quote, see below. 260 261 $background_styles .= ' background-image: url(\'' . $background_image_thumb . '\');' 261 262 . ' background-repeat: ' . get_theme_mod( 'background_repeat', get_theme_support( 'custom-background', 'default-repeat' ) ) . ';'
Note: See TracChangeset
for help on using the changeset viewer.