Hi @magneticdud,
I’m sorry to hear you’ve experienced some difficulties. In making this plugin available and implementing automatic installation (via WooCommerce), our intention was only ever to be helpful and minimize disruption for our community of users as we transition away from the Legacy REST API.
I’m not sure if there is a single canonical definition of malware but, if there was, I would have thought it would have to contain a strong element of intent to cause harm or perhaps intent to steal information: that definitely is not the case here, even if perhaps there are some flaws in the auto-install logic (and, based on your report here, we’ll definitely explore if we missed something there).
Thanks for taking the time to leave a review—and our apologies again if we set off any alarm bells.
Hi @magneticdud, you can prevent the plugin from being automatically installed by adding the following code snippet to your site, for example with the Code Snippets plugin:
add_filter( 'woocommerce_skip_legacy_rest_api_plugin_auto_install', '__return_true' );
We mentioned this in the plugin autoinstall announcement post, apologies if that wasn’t clear enough.
-
This reply was modified 1 month, 1 week ago by konamiman.
-
This reply was modified 1 month, 1 week ago by konamiman.
I don’t want to add yet another line in the functions.php, in this way it becomes an unmanageable mess, plus it’s going to slow down the site by some half milliseconds as it has to parse another “useless” line