X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/wordpress.git/blobdiff_plain/9441756a895fb4fdc4bcf20e0d228cef622663ca..3d39054f012aefe514b3f5509e32f09fc4feda44:/wp-includes/embed-template.php?ds=sidebyside
diff --git a/wp-includes/embed-template.php b/wp-includes/embed-template.php
index fab8c842..fb209915 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.0', 'wp-includes/theme-compat/embed.php' );
-
-
-
-
-
-
-
-
-
-
-
+include( ABSPATH . WPINC . '/theme-compat/embed.php' );