Skip to content

CRM: Fix autoformat goofs plus additional tweaks#47624

Merged
tbradsha merged 7 commits intotrunkfrom
fix/crm/autoformat_goofs_and_tweaks
Mar 17, 2026
Merged

CRM: Fix autoformat goofs plus additional tweaks#47624
tbradsha merged 7 commits intotrunkfrom
fix/crm/autoformat_goofs_and_tweaks

Conversation

@tbradsha
Copy link
Copy Markdown
Contributor

@tbradsha tbradsha commented Mar 17, 2026

Fixes some issues introduced by code cleanup in #46809.

Proposed changes

This primarily removes extra whitespace within attributes. In many cases, I removed various redundant conditions and/or multilined the attributes, which improved readability. I skipped class attributes, as whitespace has no effect.

To keep myself engaged during the review I also cleaned up a handful of PHPCS notices, adding translation messages and removing redefined globals and unused vars.

Other information

  • Generate changelog entries for this PR (using AI).

Related product discussion/links

  • p1773056375283269/1770316802.279739-slack-C08PN0LHCCT

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

Testing instructions

Review the code.

@tbradsha tbradsha requested a review from a team March 17, 2026 12:35
@tbradsha tbradsha self-assigned this Mar 17, 2026
@tbradsha tbradsha added the [Status] Needs Review This PR is ready for review. label Mar 17, 2026
@github-actions github-actions Bot added [CRM] MailPoet Module [CRM] WooSync Module [Plugin] CRM Issues about the Jetpack CRM plugin Admin Page React-powered dashboard under the Jetpack menu labels Mar 17, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 17, 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!

@github-actions github-actions Bot added [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. and removed [Status] Needs Review This PR is ready for review. labels Mar 17, 2026
@jp-launch-control
Copy link
Copy Markdown

jp-launch-control Bot commented Mar 17, 2026

Code Coverage Summary

Coverage changed in 4 files.

File Coverage Δ% Δ Uncovered
projects/plugins/crm/modules/mailpoet/admin/settings/main.page.php 0/81 (0.00%) 0.00% -2 💚
projects/plugins/crm/includes/ZeroBSCRM.MetaBoxes3.Quotes.php 0/535 (0.00%) 0.00% -3 💚
projects/plugins/crm/includes/ZeroBSCRM.MetaBoxes3.Contacts.php 0/1093 (0.00%) 0.00% -5 💚
projects/plugins/crm/modules/woo-sync/admin/settings/connection_edit.page.php 0/87 (0.00%) 0.00% -26 💚

Full summary · PHP report

Copy link
Copy Markdown
Contributor

@haqadn haqadn left a comment

Choose a reason for hiding this comment

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

Changes look good

@tbradsha tbradsha merged commit 7ef9431 into trunk Mar 17, 2026
68 checks passed
@tbradsha tbradsha deleted the fix/crm/autoformat_goofs_and_tweaks branch March 17, 2026 19:06
@github-actions github-actions Bot removed 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 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Admin Page React-powered dashboard under the Jetpack menu [CRM] MailPoet Module [CRM] WooSync Module [Plugin] CRM Issues about the Jetpack CRM plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants