brashrebel / client-dash-extension-boilerplate

This is a great starting point for anyone making an extension for Client Dash.
2 stars 5 forks source link

Edited Few Minor Wordage Mistakes #3

Closed fpcorso closed 3 months ago

fpcorso commented 9 years ago

There were a few spots that looked like the widget text was copied and pasted and never edited. It was a bit confusing at quick glance.

For example, the class "MyCDExtension_Menus" had the text "This is an optional class for adding widgets" which is isn't.

fpcorso commented 9 years ago

Also, I just discovered a bug with the url and styles. I noticed at the top, there was a "FIXME Style not loading" comment but I didn't realize what it meant to I was trying to add my style in. The plugins_url does not return with trailing slash. This creates errors when adding in styles. So I used plugin_dir_url instead which includes the trailing slash.

fpcorso commented 9 years ago

Minor update to use plugin_dir_url instead which is simpler for this purpose.

joelworsham commented 9 years ago

I'll be merging this in the near future for sure