-
Notifications
You must be signed in to change notification settings - Fork 217
Update snackbarNotices filter to snackbarNoticeVisibility
#4417
Conversation
|
Size Change: +117 B (0%) Total Size: 965 kB
ℹ️ 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.
This appears to be working as described :) Approving. Rebase is needed.
Was the "multiple coupon" issue you mentioned the block error boundary when removing a coupon when points are applied?
I noticed a notice which is unrelated to this change but something in points. Are you aware or should I log a new issue?
Notice: Array to string conversion in /plugins/woocommerce-points-and-rewards/includes/class-wc-points-rewards-extend-store-endpoint.php on line 86
00c1ca4 to
31f7d6f
Compare
Cheers, Mike. Done!
Yep, this is fixed now following the rebase.
Strange, I'm not getting this notice, this line is an array of tags that should be allowed in |
7.3.5 |
Makes sense then since this change to |
After internal discussion at pca54o-1Gs-p2 I wanted to put this PR out there to see what folks think, the changes are made to stop third party extensions being able to modify the particulars of any snackbar notice, and control only whether it is shown to the user or not. An overview of the changes is:
true.How to test the changes in this Pull Request:
update/snackbar-filtering-functionin WooCommerce Points and Rewardsnpm run buildin the WC P&R directory.couponNamefilter tocouponsand update documentation #4312assets/js/filters.jschangesnackbarNoticeVisibilitytosnackbarNoticesand runnpm run build.Changelog