WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 5 months ago

#40244 assigned enhancement

Inconsistent casing in the list table select filters

Reported by: afercia Owned by: bhargavbhandari90
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.4
Component: Administration Keywords: has-screenshots good-first-bug has-patch
Focuses: ui Cc:

Description

In the various admin screens with list tables (posts, pages, media, comments, users...) a toolbar on the top displays some <select> elements to filter the lists by different criteria.

The default option sometimes uses title casing, sometimes not. Using always the same casing would be an easy fix and a minor, but nice, UI enhancement.

Worth mentioning title casing is mainly an English thing. In many other languages just the first letter in a title or label is uppercase. This is a minor thing and probably can be handled by translations. However, while I'd generally agree to use title case for English titles and labels, I'm not sure it makes sense for the select options.

Some screenshots:

Posts screen: All dates and All Categories (see also Bulk Actions)

https://cldup.com/KXQKxL6CwG.png

Media Library screen: All media items and All dates

https://cldup.com/bYFVoEqabr.png

Comments screen: All comment types

https://cldup.com/cYY4EwHZjw.png

Users screen: Change role to...

https://cldup.com/CgiL5MCx8X.png

Haven't checked the network screens, there are probably some other cases around.

Given most of them don't use title casing, I'd propose to standardise on this.

Attachments (2)

40244.patch (3.5 KB) - added by bhargavbhandari90 7 months ago.
40244.2.patch (4.5 KB) - added by rcutmore 6 months ago.
Fix additional inconsistent casing and relocate patch to root directory

Download all attachments as: .zip

Change History (8)

#1 @welcher
7 months ago

  • Keywords needs-patch added

#2 @bhargavbhandari90
7 months ago

  • Keywords has-patch added; needs-patch removed

#3 @bhargavbhandari90
7 months ago

  • Version set to 4.7.4

#4 @bhargavbhandari90
7 months ago

May be there are more strings like this.

@rcutmore
6 months ago

Fix additional inconsistent casing and relocate patch to root directory

#5 @rcutmore
6 months ago

I added 40244.2.patch to fix a couple additional strings with inconsistent casing. These are on the grid view of the Media Library.

#6 @DrewAPicture
5 months ago

  • Owner set to bhargavbhandari90
  • Status changed from new to assigned

Assigning ownership to mark the good-first-bug as "claimed".

Note: See TracTickets for help on using tickets.