-
Notifications
You must be signed in to change notification settings - Fork 219
Mini-Cart: prevent 'Mini-Cart in cart and checkout pages' toggle from showing up in the post/page editor #9442
Mini-Cart: prevent 'Mini-Cart in cart and checkout pages' toggle from showing up in the post/page editor #9442
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: +5 B (0%) Total Size: 1.11 MB
ℹ️ View Unchanged
|
357a571
to
7c79ea0
Compare
… showing up in the post/page editor
7c79ea0
to
7de614a
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.
Hi @Aljullu, I have verified the changes and everything is working as expected. Good job! 🙌🏻🚀
I have a quick question: Should we also add Epic to this pull request?
Hmmm, I'm not sure. I used to do that, but then I noticed that ZenHub was counting story points twice if the issue + PR were added to the epic. That's why when a PR has an issue associated to it, I only add the issue to the Epic. Not sure if that's the correct think to do, though. 🤔 |
@Aljullu I see. Let me ask in Slack to find the answer to this question. 🤝 |
Fixes #9428.
The code of this PR is based on similar code found in Gutenberg:
https://github.com/WordPress/gutenberg/blob/37d98396f63dd7463287fd9d2124a179a1f68458/packages/block-library/src/post-comments-form/form.js#L63
Note: I added the
skip-changelog
label as it looks like #9428 was only reproducible onnpm run start
, but not onnpm run build
, so it never impacted users.Testing
User Facing Testing
WooCommerce Visibility