X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..4feeb71a9d812a9ae371c28a3d8b442a4394ded7:/wp-includes/embed-template.php
diff --git a/wp-includes/embed-template.php b/wp-includes/embed-template.php
index df2518f9..312c45c6 100644
--- a/wp-includes/embed-template.php
+++ b/wp-includes/embed-template.php
@@ -1,202 +1,13 @@
-
- class="no-js">
-
-
-
- tag.
- *
- * @since 4.4.0
- */
- do_action( 'embed_head' );
- ?>
-
->
- $data ) {
- if ( $data['width'] / $data['height'] > $aspect_ratio ) {
- $aspect_ratio = $data['width'] / $data['height'];
- $measurements = array( $data['width'], $data['height'] );
- $image_size = $size;
- }
- }
- }
-
- /**
- * Filter the thumbnail image size for use in the embed template.
- *
- * @since 4.4.0
- *
- * @param string $image_size Thumbnail image size.
- */
- $image_size = apply_filters( 'embed_thumbnail_image_size', $image_size );
-
- $shape = $measurements[0] / $measurements[1] >= 1.75 ? 'rectangular' : 'square';
-
- /**
- * Filter 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
- *
- * @param string $shape Thumbnail image shape. Either 'rectangular' or 'square'.
- */
- $shape = apply_filters( 'embed_thumbnail_image_shape', $shape );
- }
- ?>
- >
-
-
-
-
-
-
-
-
-
-
-
-
-
+_deprecated_file( basename( __FILE__ ), '4.5', 'wp-includes/theme-compat/embed.php' );
-
-
-
-
-
-
-
-
-
-
-
+include( ABSPATH . WPINC . '/theme-compat/embed.php' );