diff --git a/src/wp-includes/embed.php b/src/wp-includes/embed.php
index e0f4bc937c..338c6a041b 100644
--- a/src/wp-includes/embed.php
+++ b/src/wp-includes/embed.php
@@ -472,7 +472,7 @@ function get_post_embed_html( $width, $height, $post = null ) {
$embed_url .= "#?secret={$secret}";
$output = wp_get_inline_script_tag(
- file_get_contents( sprintf( ABSPATH . WPINC . '/js/wp-embed' . wp_scripts_get_suffix() . '.js' ) )
+ file_get_contents( ABSPATH . WPINC . '/js/wp-embed' . wp_scripts_get_suffix() . '.js' )
);
$output .= sprintf(
@@ -1042,27 +1042,10 @@ function enqueue_embed_scripts() {
*/
function print_embed_styles() {
$type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"';
+ $suffix = SCRIPT_DEBUG ? '' : '.min';
?>
-
-