woocommerce / woocommerce-paypal-payments

https://wordpress.org/plugins/woocommerce-paypal-payments/
GNU General Public License v2.0
62 stars 47 forks source link

W3 Total Cache: Remove type from file parameter as sometimes null gets passed causing errors (3346) #2403

Closed danieldudzic closed 2 weeks ago

danieldudzic commented 2 weeks ago

Description

This PR removes the type from the $file parameter in the w3tc_minify_js_do_tag_minification filter removing errors when null gets passed.

Steps to Test

  1. Enable W3 Total Cache file minifying.
  2. Navigate to the checkout page.
  3. Ensure there are no errors.

Screenshots

Before After
Page__Checkout Page__Checkout