-
Notifications
You must be signed in to change notification settings - Fork 805
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
Add review to the list of allowed comment types for the /comments/$comment_id #10855
Conversation
D21937-code. (newly created revision) |
This is automated check which relies on Generated by 🚫 dangerJS |
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.
It works well in my tests. Merging as soon as the tests pass.
Cherry-picked to |
…mment_id endpoint
15331e9
to
ace75d2
Compare
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.
Merging, now that the tests pass.
Changes proposed in this Pull Request:
See p90Yrv-Tz-p2.
Prior to WooCommerce 3.5, product reviews were stored as comments with an empty comment type (''). After 3.5, these are now marked with the review type.
A few things relied on being able to update comment status using the WordPress.com REST API, such as the mobile apps and web notifications.
This PR whitelists the review type to restore that behavior.
This was originally part of #10786 -- but separated out since it is a separate fix for the mobile apps.
Testing instructions:
Proposed changelog entry for your changes:
N/A