WordPress.org

Make WordPress Core

Changeset 44208


Ignore:
Timestamp:
12/15/2018 01:30:32 AM (9 months ago)
Author:
pento
Message:

Scripts: Remove an incorrect parameter sent to wp_get_script_polyfill().

wp_get_script_polyfill() only accepts two parameters, but this call was passing a third.

Props swissspidy.
See #45472.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-includes/script-loader.php

    r44183 r44208  
    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    );
Note: See TracChangeset for help on using the changeset viewer.