@@ -325,6 +326,10 @@ class Custom_Background {
$thumbnail = wp_get_attachment_image_src( $id, 'thumbnail' );
set_theme_mod('background_image_thumb', esc_url( $thumbnail[0] ) );
+
+ set_theme_mod('background_position', get_theme_mod('background_position', 'left') );
+ set_theme_mod('background_repeat', get_theme_mod('background_repeat', 'tile') );
+ set_theme_mod('background-attachment', get_theme_mod('background_position', 'fixed') );
do_action('wp_create_file_in_uploads', $file, $id); // For replication
$this->updated = true;