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 --- .../customize/class-wp-customize-theme-control.php | 139 --------------------- 1 file changed, 139 deletions(-) delete mode 100644 srcs/wordpress/wp-includes/customize/class-wp-customize-theme-control.php (limited to 'srcs/wordpress/wp-includes/customize/class-wp-customize-theme-control.php') diff --git a/srcs/wordpress/wp-includes/customize/class-wp-customize-theme-control.php b/srcs/wordpress/wp-includes/customize/class-wp-customize-theme-control.php deleted file mode 100644 index 09ba810..0000000 --- a/srcs/wordpress/wp-includes/customize/class-wp-customize-theme-control.php +++ /dev/null @@ -1,139 +0,0 @@ -json['theme'] = $this->theme; - } - - /** - * Don't render the control content from PHP, as it's rendered via JS on load. - * - * @since 4.2.0 - */ - public function render_content() {} - - /** - * Render a JS template for theme display. - * - * @since 4.2.0 - */ - public function content_template() { - /* translators: %s: Theme name. */ - $details_label = sprintf( __( 'Details for theme: %s' ), '{{ data.theme.name }}' ); - /* translators: %s: Theme name. */ - $customize_label = sprintf( __( 'Customize theme: %s' ), '{{ data.theme.name }}' ); - /* translators: %s: Theme name. */ - $preview_label = sprintf( __( 'Live preview theme: %s' ), '{{ data.theme.name }}' ); - /* translators: %s: Theme name. */ - $install_label = sprintf( __( 'Install and preview theme: %s' ), '{{ data.theme.name }}' ); - ?> - <# if ( data.theme.active ) { #> -
- <# } else { #> -
- <# } #> - - <# if ( data.theme.screenshot && data.theme.screenshot[0] ) { #> -
- -
- <# } else { #> -
- <# } #> - - - -
- -
- - <# if ( 'installed' === data.theme.type && data.theme.hasUpdate ) { #> -
-

- ' . __( 'Update now' ) . '' - ); - } - ?> -

-
- <# } #> - - <# if ( data.theme.active ) { #> -
-

- {{ data.theme.name }} -

-
- -
-
-

- <# } else if ( 'installed' === data.theme.type ) { #> -
-

{{ data.theme.name }}

-
- -
-
-

- <# } else { #> -
-

{{ data.theme.name }}

-
- -
-
- <# } #> -
-