• Ok, rest api is being retired, so you should just suggest to install the plugin, not force the installation without user consent or permission

    • This topic was modified 3 months, 1 week ago by magneticdud.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Barry

    (@barryhughes-1)

    It’s certainly something we thought hard about, as we were aware this might be contentious. In the end, our overriding concern was to minimize disruption for our merchants—and this felt like the best and surest way to achieve that goal.

    In fact, in the course of our earlier communications on this topic, a number of users approached us and asked that we implement automatic installation if possible. Of course, we are aware that isn’t the approach that everyone would choose, and apologize if it was in any way problematic for you or others.

    Thread Starter magneticdud

    (@magneticdud)

    It installed again automatically and without my consent. It’s already the third time that I need to manually uninstall this. Can you stop forcing this? Or at least set a bit “we already forced this user’s throat, don’t force it again” in the database

    Barry

    (@barryhughes-1)

    We’re looking at some options here.

    In the meantime, if you visit WooCommerce ▸ Settings ▸ Advanced ▸ Legacy API and disable that functionality, then further automated installations should not take place. Additionally, or alternatively, a snippet like the following can be added using a suitable tool:

    add_filter(
        'woocommerce_skip_legacy_rest_api_plugin_auto_install',
        '__return_true'
    );

    The latter may be preferable if you still wish to keep the Legacy API enabled, but do not want the legacy plugin to be installed.

    Again, we’re looking at some other options we can introduce to make this easier to manage.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.