Making WordPress.org

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#594 closed enhancement (fixed)

Use the dashicons class name for CPT icons

Reported by: ryelle's profile ryelle Owned by: iandunn's profile iandunn
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords:
Cc:

Description

Rather than using CSS to replace the icons, we can use the dashicons class name in register_post_type.

Attachments (1)

wc-dashicons.diff (11.5 KB) - added by ryelle 10 years ago.

Download all attachments as: .zip

Change History (5)

@ryelle
10 years ago

#1 @ryelle
10 years ago

wc-dashicons.diff removes the CSS replacing menu icons, and adds the icon classes to menu_icon. I don't think wcpt-venue or wcpt-organizer are used (?), but they've been updated too. I've also updated the WordCamp icon to use the WordPress dashicon, instead of the pixelated image.

#2 @iandunn
10 years ago

In 1229:

WordCamp Post Types: Replace Campicons with Dashicons.

The icona we need are now in Dashicons, which is bundled with Core and automatically loaded, so there's no need to include Campicons.

Props ryelle
See #594

#3 @iandunn
10 years ago

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

In 1230:

WordCamp Post Type: Use Dashicons instead of bundled icons.

Props ryelle
Fixes #594

#4 @iandunn
10 years ago

Merged, thanks Kelly :)

Note: See TracTickets for help on using tickets.