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

Remove WooCommerce Plugin Check #1226

Open
chihsuan opened this issue Dec 17, 2024 · 0 comments
Open

Remove WooCommerce Plugin Check #1226

chihsuan opened this issue Dec 17, 2024 · 0 comments

Comments

@chihsuan
Copy link

Description:

This is a follow-up to Issue #1170, where the Plugin Dependencies feature was introduced (thanks @ryanhungate for adding this! 🙏 ), but the existing WooCommerce plugin check was not removed.

Since WordPress now handles plugin dependencies natively, ideally, we don't need to check the plugin now.

Problem:

  • Users with non-standard WooCommerce folder names still encounter error messages. Specifically, the Mailchimp for WooCommerce plugin is available in the WooCommerce onboarding wizard. However, when they use a custom folder name for WooCommerce, this causes an issue that users will get an error message.
  • To bypass this error, I understand that users can define the RUNNING_CUSTOM_WOOCOMMERCE constant, but it's not a good user experience.
  • Maintaining redundant code adds unnecessary complexity and potential points of failure.

Suggested Changes:

  • Deprecate/remove the mailchimp_check_woocommerce_plugin_status and mailchimp_check_woocommerce_is_installed functions.

References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant