Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#57226 closed defect (bug) (fixed)

Inconsistency in the use of text cases in the WordPress dashboard

Reported by: aravindajith's profile aravindajith Owned by: audrasjb's profile audrasjb
Milestone: 6.2 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: ui-copy Cc:

Description

There seems to be a serious inconsistency in following the use of a standardized test case across the WordPress dashboard. The inconsistency has been observed in form labels, titles, and buttons. Sharing some screenshots as attachments.

Attachments (7)

Screenshot 2022-11-29 at 11.36.31 PM.png (147.1 KB) - added by aravindajith 2 years ago.
Settings > Writing
Screenshot 2022-11-30 at 12.14.06 AM.png (174.3 KB) - added by aravindajith 2 years ago.
Tools > Plugin File Editor - Buttons text are inconsistent
Screenshot 2022-11-29 at 11.38.47 PM.png (121.8 KB) - added by aravindajith 2 years ago.
Settings > General - The last label is capitalized - Expected 'On' to be in small case (Week Starts on) as most other labels were following title case
Screenshot 2022-11-30 at 12.07.34 AM.png (197.5 KB) - added by aravindajith 2 years ago.
Settings > Discussion
Screenshot 2022-11-30 at 12.03.05 AM.png (145.4 KB) - added by aravindajith 2 years ago.
Settings > Privacy
Screenshot 2022-11-30 at 10.47.41 AM.png (92.1 KB) - added by sarath.ar 2 years ago.
Site health page also have same issue, attached screenshot for reference
57226.diff (13.5 KB) - added by nithi22 2 years ago.
Patch that will convert all the settings labels to Title Case.

Download all attachments as: .zip

Change History (15)

@aravindajith
2 years ago

Settings > Writing

@aravindajith
2 years ago

Tools > Plugin File Editor - Buttons text are inconsistent

@aravindajith
2 years ago

Settings > General - The last label is capitalized - Expected 'On' to be in small case (Week Starts on) as most other labels were following title case

@aravindajith
2 years ago

Settings > Discussion

@aravindajith
2 years ago

Settings > Privacy

#1 @sabernhardt
2 years ago

  • Component changed from General to Administration
  • Focuses ui-copy added
  • Summary changed from Inconstancy in the use of text cases in the WordPress dashboard to Inconsistency in the use of text cases in the WordPress dashboard

This ticket was mentioned in PR #3703 on WordPress/wordpress-develop by @audrasjb.


2 years ago
#2

  • Keywords has-patch added

Trac ticket: https://core.trac.wordpress.org/ticket/57226

### About Privacy Settings Screen

There are a few use case:

  • When referring to the Privacy Policy page, "Privacy Policy" should probably use capitalization on "Privacy Policy", but "page" should remain lowercase
  • When referring to the fact that a website needs, let's say "a relevant privacy policy", I'd says that "privacy policy" should stay lowercase.

This PR also updates other small capitalization issues.
What do you think?

#3 @audrasjb
2 years ago

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

In 54897:

Coding Standards: Use consistent markup for line break tags on update-core.php.

This changeset replaces <br/> with <br /> on various places, as per WordPress Coding Standards.
See https://developer.wordpress.org/coding-standards/wordpress-coding-standards/html/#self-closing-elements

Follow-up to [54062].

Props rajanpanchal2028, alberuni-azad, sabernhardt.
Fixes #57226.
See #56791.

#4 @audrasjb
2 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Wrong commit assignment, sorry. Reopening.

@sarath.ar
2 years ago

Site health page also have same issue, attached screenshot for reference

@nithi22
2 years ago

Patch that will convert all the settings labels to Title Case.

#5 @costdev
2 years ago

I'm not sure I'd like changing the settings screens to use Title Case, particularly with results like:

Create A New Privacy Policy Page

This seems a little much to me, and I'd personally prefer sentence case:

Create a new privacy policy page

Or, if "privacy policy" is assumed to be the name of the new page, then:

Create a new Privacy Policy page


On the Site Health page:

1 critical issue
3 recommended improvements

These aren't actually "small case" as noted in the screenshot above. "1" and "3" are the start of each of these sentences, so it's valid sentence case.

#6 @audrasjb
2 years ago

  • Milestone changed from Awaiting Review to 6.2

Moving for 6.2 consideration.

#7 @audrasjb
2 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 55082:

Administration: Use a consistent capitalization in Privacy Policy related strings.

This changeset fixes a few use case:

  • When referring to the Privacy Policy page, "Privacy Policy" should use capitalization on "Privacy Policy", but "page" should remain lowercase;
  • When referring to the fact that a website needs, let's say "a relevant privacy policy", "privacy policy" should stay lowercase.

This changeset also updates other small capitalization issues.

Props aravindajith, audrasjb, sarathar, nithi22, costdev.
Fixes #57226.

Note: See TracTickets for help on using tickets.