Make WordPress Core

Opened 6 years ago

Closed 6 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:


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)

#1 @nacin
6 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.