WordPress.org

Make WordPress Core

Ticket #42229: 42229.patch

File 42229.patch, 781 bytes (added by dsawardekar, 4 years ago)

Adds $suffix to the mediaelement enqueue

  • wp-includes/script-loader.php

     
    352352
    353353        $scripts->add( 'imgareaselect', "/wp-includes/js/imgareaselect/jquery.imgareaselect$suffix.js", array('jquery'), false, 1 );
    354354
    355         $scripts->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelement-and-player.min.js", array('jquery'), '4.2.5-74e01a40', 1 );
     355        $scripts->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelement-and-player$suffix.js", array('jquery'), '4.2.5-74e01a40', 1 );
    356356        did_action( 'init' ) && $scripts->localize( 'mediaelement', 'mejsL10n', array(
    357357                'language' => get_bloginfo( 'language' ),
    358358                'strings'  => array(