Skip to content

Fix module name casing in module list#47843

Merged
tbradsha merged 3 commits intotrunkfrom
fix/module-name-casing
Mar 30, 2026
Merged

Fix module name casing in module list#47843
tbradsha merged 3 commits intotrunkfrom
fix/module-name-casing

Conversation

@bobmatyas
Copy link
Copy Markdown
Contributor

Fixes MONOREP-401

Proposed changes

  • Applies consistent casing to module names, fixing an issue where some modules are formatted like "Beautiful Math" and others are "Account protection" and "Brute Force Protection". This ensures all follow the same labeling.

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

No.

Testing instructions

  1. Go to https://example.com/wp-admin/admin.php?page=jetpack_modules
  2. See that module names don't follow consistent capitalization
  3. Apply the PR and see that capitalization is consistent

Before:

image

After:

image

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 30, 2026

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), and enable the fix/module-name-casing branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack fix/module-name-casing

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 added the [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ label Mar 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 30, 2026

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!


Jetpack plugin:

The Jetpack plugin has different release cadences depending on the platform:

  • WordPress.com Simple releases happen as soon as you deploy your changes after merging this PR (PCYsg-Jjm-p2).
  • WoA releases happen weekly.
  • Releases to self-hosted sites happen monthly:
    • Scheduled release: March 31, 2026
    • Code freeze: March 31, 2026

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

@github-actions github-actions Bot added the [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. label Mar 30, 2026
@jp-launch-control
Copy link
Copy Markdown

jp-launch-control Bot commented Mar 30, 2026

Code Coverage Summary

This PR did not change code coverage!

That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷

Full summary · PHP report · JS report

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Jetpack module display names to use consistent Title Case in the modules list (and related REST response), aligning the UI labels across modules.

Changes:

  • Adjust module header Module Name values to consistent casing across several modules.
  • Update the REST API authentication test expectation for the Protect module name.
  • Add a Jetpack changelogger entry describing the UI label normalization.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
projects/plugins/jetpack/tests/php/_inc/lib/Jetpack_REST_API_Authentication_Test.php Updates expected module name in REST response to match new Protect module label casing.
projects/plugins/jetpack/modules/verification-tools.php Title-cases module display name (“Site Verification”).
projects/plugins/jetpack/modules/related-posts.php Title-cases module display name (“Related Posts”).
projects/plugins/jetpack/modules/protect.php Title-cases module display name (“Brute Force Protection”).
projects/plugins/jetpack/modules/post-by-email.php Title-cases module display name (“Post by Email”).
projects/plugins/jetpack/modules/custom-content-types.php Title-cases module display name (“Custom Content Types”).
projects/plugins/jetpack/modules/account-protection.php Title-cases module display name (“Account Protection”).
projects/plugins/jetpack/changelog/fix-module-name-casing Adds changelog entry for the module list capitalization change.

Comment thread projects/plugins/jetpack/changelog/fix-module-name-casing Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@bobmatyas bobmatyas added [Status] Needs Review This PR is ready for review. and removed [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. labels Mar 30, 2026
@simison
Copy link
Copy Markdown
Member

simison commented Mar 30, 2026

I think we'd wanna do the opposite, as our copy style is Sentence case, not Title Case (internal ref PCYsg-5n-p2 ).

That said, we're about to remove links to this page in next Jetpack version, and then eventually the whole page, so I don't know if this really matters much to spend time on this. :-)

Copy link
Copy Markdown
Contributor

@tbradsha tbradsha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you!

@tbradsha tbradsha merged commit b5da385 into trunk Mar 30, 2026
72 checks passed
@tbradsha tbradsha deleted the fix/module-name-casing branch March 30, 2026 19:24
@github-actions github-actions Bot added this to the jetpack/15.7 milestone Mar 30, 2026
@github-actions github-actions Bot removed the [Status] Needs Review This PR is ready for review. label Mar 30, 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/ [Tests] Includes Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants