-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove payouts rename notice overlay. #10039
base: develop
Are you sure you want to change the base?
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: -26.9 kB (-2%) Total Size: 1.36 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.
✅ - I did a manual test with the flag set to false and in develop - I was able to see the notice. On this branch the notice is gone, despite the flag being 0
Code changes look good to me. I have left a couple of non-blocking comments on wording of the changelog ( totally optional ), and the possibility of cleaning up the unwanted option from the local website DB.
Significance: minor | ||
Type: update | ||
|
||
Remove the overlay that notices the rename from deposits to payouts. |
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.
Nitpick and optional:
Remove spotlight notice announcing rename of deposit to payout.
@@ -1923,7 +1923,6 @@ public static function add_wcpay_options_to_woocommerce_permissions_list( $permi | |||
'woocommerce_remind_me_later_todo_tasks', | |||
'woocommerce_deleted_todo_tasks', | |||
'wcpay_fraud_protection_welcome_tour_dismissed', | |||
'wcpay_payouts_rename_notice_dismissed', |
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.
Non-blocking: I was wondering if there is a way to clean up this option from the wp_options of the merchant website DB to keep it clean. Something using the delete_option
Fixes #9704
Changes proposed in this Pull Request
Testing instructions
wcpay_payouts_rename_notice_dismissed
doesn't exist (rundelete_option( 'wcpay_payouts_rename_notice_dismissed' )
on WP Console to delete that option).wcpay_payouts_rename_notice_dismissed
does not exists.npm run changelog
to add a changelog file, choosepatch
to leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge