diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 4929d150ab..c62a0ab8a4 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -1019,7 +1019,7 @@ final class WP_Customize_Manager { $this->add_control( new WP_Customize_Background_Image_Control( $this ) ); $this->add_setting( 'background_repeat', array( - 'default' => 'repeat', + 'default' => get_theme_support( 'custom-background', 'default-repeat' ), 'theme_supports' => 'custom-background', ) ); @@ -1036,7 +1036,7 @@ final class WP_Customize_Manager { ) ); $this->add_setting( 'background_position_x', array( - 'default' => 'left', + 'default' => get_theme_support( 'custom-background', 'default-position-x' ), 'theme_supports' => 'custom-background', ) ); @@ -1052,7 +1052,7 @@ final class WP_Customize_Manager { ) ); $this->add_setting( 'background_attachment', array( - 'default' => 'fixed', + 'default' => get_theme_support( 'custom-background', 'default-attachment' ), 'theme_supports' => 'custom-background', ) ); @@ -1061,8 +1061,8 @@ final class WP_Customize_Manager { 'section' => 'background_image', 'type' => 'radio', 'choices' => array( - 'fixed' => __('Fixed'), 'scroll' => __('Scroll'), + 'fixed' => __('Fixed'), ), ) );