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-upload-control.php | 44 ---------------------- 1 file changed, 44 deletions(-) delete mode 100644 srcs/wordpress/wp-includes/customize/class-wp-customize-upload-control.php (limited to 'srcs/wordpress/wp-includes/customize/class-wp-customize-upload-control.php') diff --git a/srcs/wordpress/wp-includes/customize/class-wp-customize-upload-control.php b/srcs/wordpress/wp-includes/customize/class-wp-customize-upload-control.php deleted file mode 100644 index 46e2b98..0000000 --- a/srcs/wordpress/wp-includes/customize/class-wp-customize-upload-control.php +++ /dev/null @@ -1,44 +0,0 @@ -value(); - if ( $value ) { - // Get the attachment model for the existing file. - $attachment_id = attachment_url_to_postid( $value ); - if ( $attachment_id ) { - $this->json['attachment'] = wp_prepare_attachment_for_js( $attachment_id ); - } - } - } -} -- cgit