katzwebservices / Wunderground

Get accurate and beautiful weather forecasts powered by Wunderground.com for your content or your sidebar.
MIT License
23 stars 13 forks source link

Set api key #46

Closed zackkatz closed 8 years ago

zackkatz commented 8 years ago

Okay, this time it's the final branch change for the PR. Sorry about that!

zackkatz commented 8 years ago

@jpw123 Are you aware of any situation where the wunderground_get_api_key() function wouldn't be available?

zackkatz commented 8 years ago

@jpw123 I've decided to do it a bit differently; I didn't want to modify the existing order of the parameters of the Wunderground_Request class, and the logic was a bit complex. Now you can set a constant, and override that or the default using a filter.

Thanks for your help on this! I hope you contribute again in the future.

jpw123 commented 8 years ago

Makes sense, much better this way. Thanks for the great plugin.