-
Notifications
You must be signed in to change notification settings - Fork 219
Hide core/no-results
as default in Product Query if WP <= 5.9
#8082
Conversation
`core/no-results` was not available until WP 6.0.
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: +38 B (0%) Total Size: 1.01 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.
Testing as described and code looks good. 🚢
`core/no-results` was not available until WP 6.0.
* Empty commit for release pull request * Fix for Rating alignment when used in Products block and Classic Template (#8104) * Hide `core/no-results` as default in Product Query if WP <= 5.9 (#8082) `core/no-results` was not available until WP 6.0. * Update the readme * Add testing notes * Remove the “Products (Beta)” block from WP 6.0 or lower (#8112) * Remove the Products block from WP < 6.0 Too many APIs which are required for the Products block experience are just plainly unavailable in versions lower than 6.0. * Revert "Fix for Rating alignment when used in Products block and Classic Template (#8104)" This reverts commit 8af92ee. Co-authored-by: github-actions <[email protected]> Co-authored-by: kmanijak <[email protected]> Co-authored-by: Lucio Giannotta <[email protected]>
@sunyatasattva given that we are now restricting the Products block to WP 6.1 or higher (#8112), should we revert this PR? |
Sure, doing it together sounds good to me. 👍 Only heads-up that we will need this to be done before January 16th, when the next WC Blocks version will be released (which will be merged into WC core 7.4). |
As
core/no-results
was not available until WP 6.0 we need to only add it to the default template for the Products (Beta) block if the WP version is sufficient.Fixes #8069
User Facing Testing
core/no-results
block by default.WooCommerce Visibility
Changelog