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

Proposal: Avoid continuing with WC_Data::save() when no local changes exist #44477

Draft
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

prettyboymp
Copy link
Contributor

Changes proposed in this Pull Request:

Introduce a protected method to the WC_Data class that will determine whether there are any local changes to a data object that will be checked prior to continuing with the ::save() method execution.

This is purely an example proposal and is not meant to be merged as is.

@github-actions github-actions bot added the plugin: woocommerce Issues related to the WooCommerce Core plugin. label Feb 8, 2024
Copy link
Contributor

github-actions bot commented Feb 8, 2024

Test Results Summary

Commit SHA: 7ddd377

Test 🧪Passed ✅Failed 🚨Broken 🚧Skipped ⏭️Unknown ❔Total 📊Duration ⏱️
API Tests25900202610m 37s
E2E Tests300001403147m 11s

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: woocommerce Issues related to the WooCommerce Core plugin.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant