radishconcepts / WordPress-GitHub-Plugin-Updater

This class is meant to be used with your Github hosted WordPress plugins. The purpose of the class is to allow your WordPress plugin to be updated whenever you push out a new version of your plugin; similarly to the experience users know and love with the WordPress.org plugin repository.
https://github.com/jkudish/WordPress-GitHub-Plugin-Updater
823 stars 195 forks source link

used a central function for building the query #35

Closed davidmosterd closed 11 years ago

davidmosterd commented 11 years ago

The query building used a lot of redundant code for parameters based on the config. I introduced a function that takes care of this which makes the code cleaner and more readable.