From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- ...class-wp-customize-background-image-control.php | 59 ---------------------- 1 file changed, 59 deletions(-) delete mode 100644 srcs/wordpress/wp-includes/customize/class-wp-customize-background-image-control.php (limited to 'srcs/wordpress/wp-includes/customize/class-wp-customize-background-image-control.php') diff --git a/srcs/wordpress/wp-includes/customize/class-wp-customize-background-image-control.php b/srcs/wordpress/wp-includes/customize/class-wp-customize-background-image-control.php deleted file mode 100644 index b31a811..0000000 --- a/srcs/wordpress/wp-includes/customize/class-wp-customize-background-image-control.php +++ /dev/null @@ -1,59 +0,0 @@ - __( 'Background Image' ), - 'section' => 'background_image', - ) - ); - } - - /** - * Enqueue control related scripts/styles. - * - * @since 4.1.0 - */ - public function enqueue() { - parent::enqueue(); - - $custom_background = get_theme_support( 'custom-background' ); - wp_localize_script( - 'customize-controls', - '_wpCustomizeBackground', - array( - 'defaults' => ! empty( $custom_background[0] ) ? $custom_background[0] : array(), - 'nonces' => array( - 'add' => wp_create_nonce( 'background-add' ), - ), - ) - ); - } -} -- cgit