WordPress.org

Making WordPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#594 closed enhancement (fixed)

Use the dashicons class name for CPT icons

Reported by: ryelle Owned by: 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 5 years ago.

Download all attachments as: .zip

Change History (5)

@ryelle
5 years ago

#1 @ryelle
5 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
5 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
5 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
5 years ago

Merged, thanks Kelly :)

Note: See TracTickets for help on using tickets.