Make WordPress Core

Ticket #45472: 45472.diff

File 45472.diff, 538 bytes (added by swissspidy, 6 years ago)
  • src/wp-includes/script-loader.php

    diff --git src/wp-includes/script-loader.php src/wp-includes/script-loader.php
    index b21f9a6f49..c0c8e6c0aa 100644
    function wp_default_packages_vendor( &$scripts ) { 
    124124                                'document.contains'   => 'wp-polyfill-node-contains',
    125125                                'window.FormData && window.FormData.prototype.keys' => 'wp-polyfill-formdata',
    126126                                'Element.prototype.matches && Element.prototype.closest' => 'wp-polyfill-element-closest',
    127                         ),
    128                         'after'
     127                        )
    129128                )
    130129        );
    131130