-
Notifications
You must be signed in to change notification settings - Fork 219
Fix Reviews blocks not being rendered #11913
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: 0 B Total Size: 1.61 MB ℹ️ View Unchanged
|
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.
👌
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.
I noticed this just before ending last night when testing reviews blocks. Fix is correct 🚢
I am thinking this endpoint might lack tests so thats something to follow up on https://github.com/woocommerce/woocommerce-blocks/issues/11916
cc @wavvves in case this needs to be inside a fix release. |
Good point. I think we should also improve the e2e tests of the Reviews blocks. I opened an issue here: woocommerce/woocommerce#42065.
Heads-up that I'm working on #11917, which might be good to include as well if we do a patch release. |
* Empty commit for release pull request * Add missing woocommerce class (#11919) * Fix an issue that caused the Order by select in Reviews blocks to always be disabled (#11918) * Fix Reviews blocks not being rendered (#11913) * Updated readme.txt and testing instructions * Updated versions * Updated testing zip. --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Mike Jolley <mike.jolley@me.com> Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com> Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
What
Fixes #11912.
Why
Reviews blocks were showing an error in the editor and were not rendered at all in the frontend. This PR should fix it.
It looks like this bug was introduced in #11473.
Testing Instructions
Please consider any edge cases this change may have, and also other areas of the product this may impact.
Screenshots or screencast
WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).Changelog