-
Notifications
You must be signed in to change notification settings - Fork 50
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
fix(woocommerce): update how order meta are updated #2711
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closely related to #2124 |
adekbadek
added
the
[Status] Needs Review
The issue or pull request needs to be reviewed
label
Oct 14, 2024
adekbadek
approved these changes
Oct 14, 2024
github-actions
bot
added
the
[Status] Approved
The pull request has been reviewed and is ready to merge
label
Oct 14, 2024
github-actions
bot
removed
the
[Status] Needs Review
The issue or pull request needs to be reviewed
label
Oct 14, 2024
6 tasks
matticbot
pushed a commit
that referenced
this pull request
Oct 14, 2024
# [5.6.0-alpha.1](v5.5.1...v5.6.0-alpha.1) (2024-10-14) ### Bug Fixes * cancelled subscriptions sync ([#3466](#3466)) ([6cad50a](6cad50a)) * **woocommerce:** update how order meta are updated ([#2711](#2711)) ([ae75548](ae75548)) ### Features * **metering:** dispatch RAS activity on content restriction ([#3437](#3437)) ([4e1c262](4e1c262))
🎉 This PR is included in version 5.6.0-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
matticbot
pushed a commit
that referenced
this pull request
Oct 28, 2024
# [5.6.0](v5.5.2...v5.6.0) (2024-10-28) ### Bug Fixes * cancelled subscriptions sync ([#3466](#3466)) ([6cad50a](6cad50a)) * **woocommerce:** update how order meta are updated ([#2711](#2711)) ([ae75548](ae75548)) ### Features * add user name to woocommerce data events ([#3473](#3473)) ([2b57d27](2b57d27)) * command to initialize cron job to slowly backfill CAP term data ([#3425](#3425)) ([0b0d79a](0b0d79a)) * **metering:** dispatch RAS activity on content restriction ([#3437](#3437)) ([4e1c262](4e1c262))
🎉 This PR is included in version 5.6.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
released on @alpha
released
[Status] Approved
The pull request has been reviewed and is ready to merge
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All Submissions:
Changes proposed in this Pull Request:
As of WooCommerce 8.2, order meta are stored in a separate table and WP's post meta functions are no longer supported.
This PR updates to use methods from the
WC_Order
class.How to test the changes in this Pull Request:
?utm_medium=some-medium
paramwp wc shop_order get <order-id> --field=meta_data
*utm
meta key* In my local dev env, I had to specify a user, and I've used
jq
for readability, so in all it was:wp wc shop_order get <order-id> --user=1 --field=meta_data | jq '.'
Other information: