-
Notifications
You must be signed in to change notification settings - Fork 805
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
Custom Content Types: Ensure settings page functionality works without module requirement #41284
base: trunk
Are you sure you want to change the base?
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. Follow this PR Review Process:
Still unsure? 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. |
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
02dd751
to
e16a6e5
Compare
…ency with other initial states within Jetpack.
57de2b6
to
2fefce4
Compare
…s from the eslint excludelist as it is now free of issues
Fixes https://github.com/Automattic/vulcan/issues/508
Proposed changes:
This PR ensures the Custom Content Types card with Jetpack Portfolio and Testimonials toggles and links on the Jetpack > Settings > Writing page can continue to function when there is no Custom Content Types module file in Jetpack. This is because this file will be removed as part of the cleanup once the Classic Theme Helper plugin is live and the features loaded via the Classic Theme Helper package directly.
Changes include:
rest_api_init
hook./wp-admin/admin.php?page=jetpack_modules
- rather than trying to create a workaround. It also it wasn't working prior to this PR.Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
This functionality should continue to work both with and without the Custom Content Types module file in place. However if you want to test that removing the module file also does not break any functionality, then delete the
jetpack/modules/custom-content-types.php
file and follow the same testing steps as above.