Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#8523 closed defect (bug) (fixed)

invalid CSS IDs in admin menu

Reported by: oaoao's profile oaoao Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.7
Component: Administration Keywords:
Focuses: Cc:

Description

CSS IDs are being partially normalized in the admin menu. however, plugins that use URLs such as

directory/file.php

are giving CSS selectors such as:

id="toplevel_page_directory/file"

slashes are not valid, and should be converted to - or _. this bug is currently breaking styling.

Attachments (1)

8253.diff (582 bytes) - added by vladimir_kolesnikov 15 years ago.
Replaces '/' with ':' in element IDs

Download all attachments as: .zip

Change History (3)

#1 @azaozz
15 years ago

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

(In [10123]) Filter menu IDs, fixes #8523

@vladimir_kolesnikov
15 years ago

Replaces '/' with ':' in element IDs

#2 @oaoao
15 years ago

vladimir-- ":" is valid, but is not a good idea due to selectors.

Note: See TracTickets for help on using tickets.