diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php index 4e3cbc0ba..c2b05c081 100644 --- a/wp-admin/custom-background.php +++ b/wp-admin/custom-background.php @@ -207,15 +207,15 @@ if ( $bgcolor = get_background_color() ) if ( get_background_image() ) { // background-image URL must be single quote, see below - $background_styles .= ' background-image: url(\'' . get_theme_mod('background_image_thumb', '') . '\');' + $background_styles .= ' background-image: url(\'' . set_url_scheme( get_theme_mod('background_image_thumb', '') ) . '\');' . ' background-repeat: ' . get_theme_mod('background_repeat', 'repeat') . ';' . ' background-position: top ' . get_theme_mod('background_position_x', 'left'); } ?>
-
- +
+
diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 862d1023a..ca047b8d9 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -333,7 +333,7 @@ class Custom_Image_Header { $width = ''; if ( !empty( $header['attachment_id'] ) ) $width = ' width="230"'; - echo '' . esc_attr( $header_desc ) .''; + echo '' . esc_attr( $header_desc ) .''; echo ''; } echo '
'; diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index e9d0caddb..1c96ee046 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/wp-includes/class-wp-customize-control.php @@ -343,7 +343,7 @@ class WP_Customize_Image_Control extends WP_Customize_Upload_Control { - + @@ -426,7 +426,7 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { foreach ( $headers as $header ) : ?> - + default_headers as $header ) : ?> - +