Opened 15 years ago
Closed 15 years ago
#12434 closed defect (bug) (fixed)
Allow custom post types to have custom icons
Reported by: | ptahdunbar | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | major | Version: | |
Component: | UI | Keywords: | has-patch |
Focuses: | Cc: |
Description
Currently all custom post types receive a id attribute of 'menu-posts'. This allows for them to use the posts icon. 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.
This patch addressing this issue by assigning custom post types with a 'menu-$post_type' id, where $post_type is a sanitized version of the label.
In addition, it abstracts all menu icons so they can be used more than once.
Attachments (4)
Change History (10)
#1
@
15 years ago
- Milestone changed from Unassigned to 3.0
- Type changed from defect (bug) to enhancement
Note: See
TracTickets for help on using
tickets.
includes updated minified versions