MyCryptoCheckout / wordpress

MyCryptoCheckout Wordpress plugin
https://wordpress.org/plugins/mycryptocheckout/
28 stars 23 forks source link

Disable wallet editor constant cannot be set to false to disable #14

Closed asheroto closed 4 months ago

asheroto commented 4 months ago

I noticed that if you set this to false, wallet editing is still disabled. So I think the code might be detecting the presence of the constant rather than its value. The only way to disable is to comment-out.

define( 'MYCRYPTOCHECKOUT_DISABLE_WALLET_EDITOR', true );

I have not tested the latest version that just came out but the one prior this is true for.

jjs2484 commented 4 months ago

Yeah looks like atm we are only checking if MYCRYPTOCHECKOUT_DISABLE_WALLET_EDITOR is defined or not since its not by default. We have a minor release coming out in the next few days and will include true/false value checking.

Thanks for reporting.

jjs2484 commented 4 months ago

Should be solved in the latest release.

asheroto commented 4 months ago

Awesome, thanks so much!