-
Notifications
You must be signed in to change notification settings - Fork 219
[Store Customization MVP] Add fallbacks to all the pattern titles, descriptions and buttons #11208
Conversation
e040113
to
6531f2f
Compare
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.48 MB ℹ️ View Unchanged
|
@tjcafferkey Regarding About the I've removed the pagination in |
|
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.
Thank you so much for working on this @albarin 🙏; this fallback is an important measure to safeguard us against any errors if the relevant scheduled action fails to update the pattern content right after a plugin update.
What
This PR adds fallbacks to all the pattern titles, descriptions and buttons.
Part of #11166
Why
To avoid a PHP warning that could be triggered if certain parts of the content for the pattern don't exist on the AI-generated content within the 'wc_blocks_patterns_content' option yet.
Testing Instructions
Please consider any edge cases this change may have, and also other areas of the product this may impact.
dictionary.json
file.Screenshots or screencast
WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).Changelog