-
Notifications
You must be signed in to change notification settings - Fork 817
My jetpack: Hide backup failure notice when backups are deactivated #43568
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
My jetpack: Hide backup failure notice when backups are deactivated #43568
Conversation
Error messages should not be too technical for the users as they might not know what a "site attribute" is or what the heck a "general kill switch" is.
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Backup plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Boost plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Search plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Social plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Starter Plugin plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Protect plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Videopress plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
Code Coverage SummaryThis PR did not change code coverage! That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷 |
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.
Looks good @manzoorwanijk. Ran through the tests and was able to reproduce the various states.
…43568) * Fix typo in backup status * Fix the grammar and language for the error message Error messages should not be too technical for the users as they might not know what a "site attribute" is or what the heck a "general kill switch" is. * Hide the notice when backups are deactivated * Add changelog
Currently, in My Jetpack, we show the backup failure notice even if the backups are deactivated manually by HEs via the MC VaultPress.
The notice doesn't make sense to the user, as they have deactivated the backups. Thus, we are getting rid of the notice in that scenario.
Completes MYJP-44
This PR also makes some relevant changes for other improvements like typo fixes and language improvements.
Proposed changes:
wp-content/lib/vaultpress/vaultpress-api-client.php:1782
on wpcom. That bug was introduced in My Jetpack: Add Backup 'needs-attention' red bubble and notice banner #40512.Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
Prerequisites
backup_failure_dismissed
. Just delete it if it exists.tools/docker/mu-plugins/0-snippets.php
Snippet (Click to expand)
Steps
git checkout -b temp
git cherry-pick f5e6aee
git cherry-pick a233fe8
"It appears that the backups have been manually deactivated for the site."
git cherry-pick d88d769