xwp / unsplash-wp

GNU General Public License v2.0
9 stars 3 forks source link

Move api class to plugin #119

Closed spacedmonkey closed 4 years ago

spacedmonkey commented 4 years ago

Summary

Simple refactor moving the api class to the plugin class. This clears the code up a lot and make sense of the interdepencies of the class. Now, plugin is passed into all sub classes and contains a copy of all the all util classes, rest api, settings and hotlink.

Checklist