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

Account for Subscriptions Core library when checking for Subscriptions #717

Conversation

unfulvio
Copy link
Member

Summary

WooCommerce Subscriptions might exist as a split library from https://github.com/Automattic/woocommerce-subscriptions-core -- this library includes nearly all the functionalities from WooCommerce Subscriptions.

If a plugin or third party code uses this library, gateways or plugins that use this framework and integrate with Subscriptions won't work because this framework only checks if the Subscriptions plugin is active, not the standalone lib.

The checks in this PR have been updated to account for that possibility.

Copy link
Contributor

@nmolham-godaddy nmolham-godaddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LVGTM

@nmolham-godaddy nmolham-godaddy merged commit 1b5a367 into master Sep 26, 2024
5 checks passed
@nmolham-godaddy nmolham-godaddy deleted the fix/is-subscriptions-active-should-also-check-for-standalone-lib branch September 26, 2024 03:53
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

Successfully merging this pull request may close these issues.

2 participants