jetpack-mu-wpcom: Initialize My Jetpack on Simple sites#47756
jetpack-mu-wpcom: Initialize My Jetpack on Simple sites#47756
Conversation
Add automattic/jetpack-my-jetpack as a dependency of the jetpack-mu-wpcom
package and call Initializer::init() in load_wpcom_user_features(). This
enables the My Jetpack dashboard and products page on WordPress.com Simple
sites, where the full Jetpack plugin is not loaded.
On Atomic sites, this is a no-op: wpcomsh's filter on
jetpack_my_jetpack_should_initialize still controls visibility, and the
did_action('my_jetpack_init') guard prevents double initialization when
the full Jetpack plugin also calls init().
|
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 🤖 🔴 Action required: Please edit your PR description and explain what functional changes your PR includes, and why those changes are needed. 🔴 Action required: Please include detailed testing steps, explaining how to test your change, like so: 🔴 Action required: We would recommend that you add a section to the PR description to specify whether this PR includes any changes to data or privacy, like so: Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Mu Wpcom plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
Code Coverage SummaryCoverage changed in 1 file.
|
WIP — description coming after sandbox testing.