MWDelaney / font-awesome-shortcodes

A plugin for WordPress that adds shortcodes for easier use of the Font Awesome icons in your content.
http://MWDelaney.github.io/font-awesome-shortcodes/
10 stars 3 forks source link

Fix PHP Notice and remove extract() function #4

Closed CybMeta closed 9 years ago

CybMeta commented 9 years ago

Remove extract() function for shortcode attributes as is recommended for plugins and themes and has been adopted by WordPress core (see https://core.trac.wordpress.org/ticket/22400). Fix PHP Notice: Undefined variables title and data on line 139 Remove muted attribute for fa shortcode: it is not used already and it is not a valid class for fontawsome

MWDelaney commented 9 years ago

Wow, thanks!

In my defense, "muted" was a feature in Font Awesome 3 and I forgot to remove it.