Make WordPress Core

Ticket #44632: 44632.diff

File 44632.diff, 561 bytes (added by ocean90, 3 years ago)
  • src/wp-includes/script-loader.php

     
    12361236                )
    12371237        );
    12381238
    1239         $scripts->add( 'wp-embed', "/wp-includes/js/wp-embed$suffix.js" );
     1239        $scripts->add( 'wp-embed', "/wp-includes/js/wp-embed$suffix.js", array(), false, 1 );
    12401240
    12411241        // To enqueue media-views or media-editor, call wp_enqueue_media().
    12421242        // Both rely on numerous settings, styles, and templates to operate correctly.