-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Restore the woocommerce_variations_added jQuery trigger #39301
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
Conversation
Test Results SummaryCommit SHA: 6bfe603
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
|
Hi @mattallan, @james-allan, @woocommerce/mothra Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
…jQuery trigger was called
|
I've updated the e2e test to verify that the |
mattallan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mattsherman thanks for the quick fix and for updating the tests to look out for this trigger being accidentally removed in the future.
I've tested this change and confirmed it fixes the issues we were facing in WC Subscriptions. Happy for this to be merged :)
* Restore woocommerce_variations_added trigger * Add e2e expect to verify that woocommerce_variations_added_functions jQuery trigger was called
* Restore the woocommerce_variations_added jQuery trigger (#39301) * Restore woocommerce_variations_added trigger * Add e2e expect to verify that woocommerce_variations_added_functions jQuery trigger was called * Prep for cherry pick 39301 --------- Co-authored-by: Matt Sherman <[email protected]> Co-authored-by: WooCommerce Bot <[email protected]>
* Restore woocommerce_variations_added trigger * Add e2e expect to verify that woocommerce_variations_added_functions jQuery trigger was called
Submission Review Guidelines:
Changes proposed in this Pull Request:
This PR restores the
woocommerce_variations_addedjQuery trigger that third-party extensions may depend on.The e2e tests have also been updated to verify that this trigger is fired when a variation is manually added.
Closes #39291.
WooCommerce 7.8/7.9 (incorrect)
WooCommerce 7.7 (correct)
This PR (correct)
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
Changelog entry
Significance
Type
Message
Comment