WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#12294 closed defect (bug) (fixed)

Wrong nested IF statements in wp-admin/user-edit.php

Reported by: pampfelimetten Owned by:
Milestone: 3.0 Priority: high
Severity: normal Version: 3.0
Component: Administration Keywords: wp-admin
Focuses: Cc:

Description

if you remove one of the two wp_admin_css_color options in wp-admin/admin.php, it will correctly remove the option to choose between the two options, but it also removes the option to activate the keyboard shortcuts.
Bug starts in wp-admin/user-edit.php at line 210, it should be outside the if-clause in line 187.

Change History (1)

comment:1 @nacin5 years ago

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

(In [13236]) Fix nesting of an if statement. Show keyboard shortcuts option even when admin colors are disabled. Props pampfelimetten, fixes #12294

Note: See TracTickets for help on using tickets.