Skip to content

wpcomsh: Keep Activity Log module on for WoA sites - #53546

Merged
kraftbj merged 3 commits into
trunkfrom
fix/wpcomsh-activity-log-default-on
Oct 13, 2026
Merged

kraftbj merged 3 commits into
trunkfrom
fix/wpcomsh-activity-log-default-on

Conversation

@jboland88

@jboland88 jboland88 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Proposed changes

  • Since Jetpack 16.3 the Activity Log page is gated on the activity-log module, so WoA sites without it lose the Jetpack › Activity Log menu item.
  • Force the module on for all WoA sites via jetpack_feature_policy (Jetpack 16.3+ only). Nothing is written to jetpack_active_modules.
  • Also add activity-log to the modules activated after a transfer or reset, so the stored state is already right if WoA sites can opt out later.

Related product discussion/links

Does this pull request change what data or activity we track or use?

No.

Testing instructions

  • On a WoA test site running Jetpack 16.3+, apply this branch's wpcomsh.
  • Confirm Jetpack › Activity Log is in the menu.
  • Run wp jetpack module deactivate activity-log; it should report the module is enabled by the host and stays on, and the menu item stays.
  • With the Classic admin interface on a Business plan, My Jetpack › Features shows "Enabled by your host or site administrator" in place of the Activity Log switch.
  • Run wp wpcomsh post-transfer; activity-log should be listed as activated.
  • On Jetpack 16.2, confirm no _doing_it_wrong notice about activity-log is logged.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jboland88 jboland88 added [Status] Needs Review This PR is ready for review. [Type] Bug labels Oct 13, 2026
@jboland88 jboland88 self-assigned this Oct 13, 2026
@jboland88 jboland88 added [Status] Needs Review This PR is ready for review. [Type] Bug labels Oct 13, 2026
@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack or WordPress.com Site Helper), and enable the fix/wpcomsh-activity-log-default-on branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack fix/wpcomsh-activity-log-default-on

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ✅ Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

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:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

If you have questions about anything, reach out in #jetpack-developers for guidance!


Wpcomsh plugin:

  • Next scheduled release: Atomic deploys happen twice daily on weekdays (p9o2xV-2EN-p2)

If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack.

@jp-launch-control

jp-launch-control Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Code Coverage Summary

Coverage changed in 2 files.

File Coverage Δ% Δ Uncovered
projects/plugins/wpcomsh/woa.php 0/276 (0.00%) 0.00% 1 ❤️‍🩹
projects/plugins/wpcomsh/wpcomsh.php 68/324 (20.99%) -0.06% 1 ❤️‍🩹

1 file is newly checked for coverage.

File Coverage
projects/plugins/wpcomsh/feature-plugins/activity-log.php 5/7 (71.43%) 💚

Full summary · PHP report · JS report

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jboland88 jboland88 changed the title wpcomsh: Activate Activity Log module after transfer wpcomsh: Keep Activity Log module on for WoA sites Oct 13, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Tests] Includes Tests labels Oct 13, 2026
@kraftbj
kraftbj merged commit 9b2934d into trunk Oct 13, 2026
84 checks passed
@kraftbj
kraftbj deleted the fix/wpcomsh-activity-log-default-on branch October 13, 2026 15:56
@github-actions github-actions Bot added [Status] UI Changes Add this to PRs that change the UI so documentation can be updated. and removed [Status] Needs Review This PR is ready for review. labels Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] Wpcomsh [Status] UI Changes Add this to PRs that change the UI so documentation can be updated. [Tests] Includes Tests [Type] Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants