Repository navigation
Reader module: ensure it's always active on Atomic sites - #46782
Conversation
The new module will replace the code that's currently always loaded via mu-wpcom, so it needs to continue to be always loaded.
|
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! Wpcomsh plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
There was a problem hiding this comment.
Pull request overview
Ensures the new WordPress.com Reader module remains always active on Atomic (WoA) sites as it replaces functionality previously always loaded via mu-wpcom.
Changes:
- Load a new wpcomsh feature plugin that force-activates Jetpack’s
readermodule. - Ensure the
readermodule is (re)activated during WoA post-transfer/reset processing. - Add a wpcomsh changelog entry for the change.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| projects/plugins/wpcomsh/wpcomsh.php | Loads the new reader-link feature plugin unconditionally with other always-on feature plugins. |
| projects/plugins/wpcomsh/woa.php | Adds reader to the set of Jetpack modules activated after transfer/reset operations. |
| projects/plugins/wpcomsh/feature-plugins/reader-link.php | Implements “always-on” behavior by force-activating reader and hiding it from the legacy modules list table. |
| projects/plugins/wpcomsh/changelog/add-reader-module | Records the change in the wpcomsh changelog system. |
Code Coverage SummaryCoverage changed in 2 files.
1 file is newly checked for coverage.
Coverage check overridden by
I don't care about code coverage for this PR
|
mehmoodak
left a comment
There was a problem hiding this comment.
Left some tiny comments.
One thing I found is that the module activation stays even when I go back to stable branch.
Approving the PR as the above behavior seems normal.
Co-authored-by: Mehmood Ahmad <31419912+mehmoodak@users.noreply.github.com>
Co-authored-by: Mehmood Ahmad <31419912+mehmoodak@users.noreply.github.com>
See https://github.com/Automattic/jetpack/pull/46782/changes#r2769488933 Co-authored-by: Mehmood Ahmad <31419912+mehmoodak@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Fixes READ-291
Note
You'll want to merge #46781 before you can test this.
Warning
This is on hold until the feature makes it to Atomic sites.
Proposed changes:
The new module will replace the code that's currently always loaded via mu-wpcom, so it needs to continue to be always loaded.
Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
Note
This can only be tested on WoA sites.
trunkyoursite.com/_clijetpack module list