jjgrainger / wp-custom-post-type-class

A PHP Class for creating Wordpress Custom Post Types easily
MIT License
416 stars 114 forks source link

Remove menu icons due to @melchoyce Dashicons #3

Closed vinkla closed 10 years ago

vinkla commented 10 years ago

In @WordPress 3.8+ dashboard icon font is now included within core. To use a Dashicon, pass the name of the helper class, e.g. 'dashicons-piechart'.

WordPress changelog: http://core.trac.wordpress.org/changeset/26664 WordPress/WordPress@9b29ad0529e11e9eeb426c50ad4a3b06b1d214b7

List of icons: http://melchoyce.github.io/dashicons/

Sublime Text has removed some whitespace and unnecessary line-breaks, nothing but the menu icon functions are removed (no worries).

jjgrainger commented 10 years ago

Thanks for your pull request,

Updates have been made to include dashicons with the class