mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
Customize: move WP_Customize_Setting subclasses to wp-includes/customize, they load in the exact same place.
See #34432. git-svn-id: https://develop.svn.wordpress.org/trunk@35383 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* WordPress Customize Setting classes
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Customize
|
||||
* @since 4.4.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Customizer Background Image Setting class.
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @see WP_Customize_Setting
|
||||
*/
|
||||
final class WP_Customize_Background_Image_Setting extends WP_Customize_Setting {
|
||||
public $id = 'background_image_thumb';
|
||||
|
||||
/**
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @param $value
|
||||
*/
|
||||
public function update( $value ) {
|
||||
remove_theme_mod( 'background_image_thumb' );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user