Make WordPress Core

Opened 17 years ago

Closed 16 years ago

#12445 closed defect (bug) (fixed)

Admin Menu is getting dup IDs courtesy of custom post types?

Reported by: Denis-de-Bernardy Owned by:
Priority: normal Milestone: 3.0
Component: UI Version: 3.0
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Highlighted in #12434: "However if you want to use your own icon, you won't be able to select your post type as all of them are assigned a 'menu-posts' id."

don't dup IDs break jQuery selectors, too? if so, it might be breaking our menu states scripts, and the like.

Attachments (1)

menu.php.diff (1.3 KB ) - added by validBen 16 years ago.

Download all attachments as: .zip

Change History (4)

#1 @voyagerfan5761
17 years ago

  • Cc WordPress@… added

@validBen
16 years ago

#2 @validBen
16 years ago

  • Keywords has-patch added; needs-patch removed

#3 @nacin
16 years ago

  • Resolutionfixed
  • Status newclosed

(In [14654]) Make sure custom post types have unique IDs in the admin menu. props validBen, fixes #12445.

Note: See TracTickets for help on using tickets.