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 --- .../wp-includes/theme-compat/embed-content.php | 127 --------------------- 1 file changed, 127 deletions(-) delete mode 100644 srcs/wordpress/wp-includes/theme-compat/embed-content.php (limited to 'srcs/wordpress/wp-includes/theme-compat/embed-content.php') diff --git a/srcs/wordpress/wp-includes/theme-compat/embed-content.php b/srcs/wordpress/wp-includes/theme-compat/embed-content.php deleted file mode 100644 index 25a45f2..0000000 --- a/srcs/wordpress/wp-includes/theme-compat/embed-content.php +++ /dev/null @@ -1,127 +0,0 @@ - -
> - $data ) { - if ( $data['height'] > 0 && $data['width'] / $data['height'] > $aspect_ratio ) { - $aspect_ratio = $data['width'] / $data['height']; - $measurements = array( $data['width'], $data['height'] ); - $image_size = $size; - } - } - } - - /** - * Filters the thumbnail image size for use in the embed template. - * - * @since 4.4.0 - * @since 4.5.0 Added `$thumbnail_id` parameter. - * - * @param string $image_size Thumbnail image size. - * @param int $thumbnail_id Attachment ID. - */ - $image_size = apply_filters( 'embed_thumbnail_image_size', $image_size, $thumbnail_id ); - - $shape = $measurements[0] / $measurements[1] >= 1.75 ? 'rectangular' : 'square'; - - /** - * Filters the thumbnail shape for use in the embed template. - * - * Rectangular images are shown above the title while square images - * are shown next to the content. - * - * @since 4.4.0 - * @since 4.5.0 Added `$thumbnail_id` parameter. - * - * @param string $shape Thumbnail image shape. Either 'rectangular' or 'square'. - * @param int $thumbnail_id Attachment ID. - */ - $shape = apply_filters( 'embed_thumbnail_image_shape', $shape, $thumbnail_id ); - } - - if ( $thumbnail_id && 'rectangular' === $shape ) : - ?> - - - -

- - - -

- - - - - -
- - - - -
-