mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Theme Customizer: Improve background image control, add correct meta key to custom headers and backgrounds uploaded using the customizer. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20913 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -698,11 +698,7 @@ final class WP_Customize_Manager {
|
||||
'theme_supports' => 'custom-background',
|
||||
) );
|
||||
|
||||
$this->add_control( new WP_Customize_Image_Control( $this, 'background_image', array(
|
||||
'label' => __( 'Background Image' ),
|
||||
'section' => 'background_image',
|
||||
'context' => 'custom-background',
|
||||
) ) );
|
||||
$this->add_control( new WP_Customize_Background_Image_Control( $this ) );
|
||||
|
||||
$this->add_setting( 'background_repeat', array(
|
||||
'default' => 'repeat',
|
||||
|
||||
Reference in New Issue
Block a user