WordPress.org

Make WordPress Core

Opened 3 months ago

#50572 new defect (bug)

Remove confusing upper case for option names on Edit Site: Settings screen

Reported by: SergeyBiryukov Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords:
Focuses: ui, administration, multisite Cc:

Description

  1. Go to Network Admin → All Sites.
  2. Select a site, click "Edit".
  3. Go to the Settings tab.

You'll see the list of option names displayed in a "readable" way:

  • Users Can Register
  • Admin Email
  • Start Of Week

This is done via ucwords( str_replace( '_', ' ', $option->option_name ) ).

There are two problems with this:

  • On non-English sites, it looks like some parts of the UI are not translated.
  • It doesn't make sense for options like "Bp-xprofile-base-group-name".

It would be better to just display the original option names instead:

  • users_can_register
  • admin_email
  • start_of_week

This would be consistent with the /wp-admin/options.php screen on single site.

Change History (0)

Note: See TracTickets for help on using tickets.