monero-integrations / monerowp

Monero WooCommerce Plugin for Wordpress
MIT License
105 stars 74 forks source link

modified woocommerce_gateway_icon filter to use two arguments #77

Closed mosu-forge closed 6 years ago

mosu-forge commented 6 years ago

Users who use this plugin along with the latest version of MyCryptoCheckout 2.24 plugin receive a fatal error. Apply filters function just needs to add a third parameter to fix that. Users who are not using MCC plugin will have no problem.

mosu-forge commented 6 years ago

image

The error a user reported with both plugins installed. Personally i think it is MCC codebase overriding a function to make that third parameter required instead of optional, but it's much easier to fix here than to make them change their codebase.