-
Notifications
You must be signed in to change notification settings - Fork 803
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
Internet Defense League widget: Widget deprecation #22676
Internet Defense League widget: Widget deprecation #22676
Conversation
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 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped. Jetpack plugin:
|
See p1690903216438169-slack-CBG1CP4EN The Internet Defense League widget is pretty old at this point, and the service behind it (Internet Defense League) doesn't exist anymore. The campaigns do not exist anymore, and the website now redirects to the company who first came up with the Internet Defense League. The widget isn't offered to new Jetpack users today, since #22676. You can only add the widget if you use the Classic Widgets plugin. Still, site owners who had added the widget some time in the past can still view and modify it. Since the campaign website doesn't exist anymore, we must refactor the widget so it still works: - We remove the campaign script entirely, as well as the logic to select a campaign. - We load the images locally instead of loading them from the remote site. - We redirect to https://www.fightforthefuture.org/ instead of the old domain.
The proposed change hides the Internet Defense League widget from the block inserter and Legacy widget block drop-down menu.
Before
After
Changes proposed in this Pull Request:
WPCOM version of this widget is out of sync with the Jetpack version and will be deprecated in a related patch: D74186-code.
Jetpack product discussion
Does this pull request change what data or activity we track or use?
No, it does not.
Testing instructions: