Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the way of checking if WooCommerce is active #498

Merged
merged 3 commits into from
Feb 23, 2022

Conversation

Narek13
Copy link
Collaborator

@Narek13 Narek13 commented Feb 17, 2022

Issue: #461


Description

The detection of is WooCommerce active using is_plugin_active() does not take into account mu-plugins.
The PR will fix that by changing the way of checking if WooCommerce is active as described in official Woo Docs

Steps to Test

  1. Install WooCommerce as mu-plugin
  2. Install and activate WooCommerce PayPal Payments plugin
  3. See error about WooCommerce is not installed

This needs to be done because of problem if WooCommerce is installed as MU plugin
@Narek13 Narek13 requested a review from Dinamiko February 17, 2022 12:59
@Narek13 Narek13 assigned Narek13 and unassigned Narek13 Feb 17, 2022
@Narek13 Narek13 added the enhancement New feature or request label Feb 17, 2022
@Dinamiko Dinamiko merged commit 2cb0efb into trunk Feb 23, 2022
@Dinamiko Dinamiko deleted the PCP-524-check-if-woocommerce-is-active-mu-plugins branch February 23, 2022 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants