Changeset 21053
- Timestamp:
- 06/11/2012 08:49:45 PM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-customize-manager.php
r21037 r21053 781 781 'theme_supports' => 'custom-background', 782 782 ) ); 783 784 $this->add_setting( new WP_Customize_Background_Image_Setting( $this, 'background_image_thumb', array( 785 'theme_supports' => 'custom-background', 786 ) ) ); 783 787 784 788 $this->add_control( new WP_Customize_Background_Image_Control( $this ) ); -
trunk/wp-includes/class-wp-customize-setting.php
r21037 r21053 383 383 * Results should be properly handled using another setting or callback. 384 384 */ 385 class WP_Customize_Header_Image_Setting extends WP_Customize_Setting {385 final class WP_Customize_Header_Image_Setting extends WP_Customize_Setting { 386 386 public $id = 'header_image_data'; 387 387 … … 400 400 } 401 401 } 402 403 final class WP_Customize_Background_Image_Setting extends WP_Customize_Setting { 404 public $id = 'background_image_thumb'; 405 406 public function update( $value ) { 407 remove_theme_mod( 'background_image_thumb' ); 408 } 409 }
Note: See TracChangeset
for help on using the changeset viewer.