WordPress.org

Make WordPress Core

Opened 8 weeks ago

Closed 4 weeks ago

#52521 closed enhancement (fixed)

Site Health: If there is only one recommendation, use singular

Reported by: Presskopp Owned by: SergeyBiryukov
Milestone: 5.8 Priority: normal
Severity: normal Version:
Component: Site Health Keywords: has-patch
Focuses: ui-copy Cc:

Description

Having 0 critical issues but 1 recommendation you can read on the dashboard:

Your site’s health is looking good, but there are still some things you can do to improve its performance and security.

We should rather say:

Your site’s health is looking good, but there is still a thing you can do to improve its performance and security.

Attachments (3)

52521.diff (883 bytes) - added by Presskopp 8 weeks ago.
52521.2.diff (887 bytes) - added by Presskopp 8 weeks ago.
52521.3.diff (1.3 KB) - added by Presskopp 4 weeks ago.

Download all attachments as: .zip

Change History (8)

@Presskopp
8 weeks ago

#1 @Presskopp
8 weeks ago

  • Keywords has-patch added

@Presskopp
8 weeks ago

This ticket was mentioned in Slack in #core-site-health by presskopp. View the logs.


4 weeks ago

#3 @Hareesh Pillai
4 weeks ago

  • Focuses ui-copy added

While we are at it, it is meaningful if we also address the case where there is just one critical issue.

Presently it is:

Your site has critical issues that should be addressed as soon as possible to improve its performance and security.

Instead it should be

Your site has a critical issue that should be addressed as soon as possible to improve its performance and security.

#4 @SergeyBiryukov
4 weeks ago

  • Milestone changed from Awaiting Review to 5.8

@Presskopp
4 weeks ago

#5 @SergeyBiryukov
4 weeks ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 50530:

Site Health: Use a singular string in dashboard widget if there is only one critical issue or recommendation.

Props Presskopp, hareesh-pillai.
Fixes #52521.

Note: See TracTickets for help on using tickets.