pippinsplugins/Easy-Digital-Downloads — pull request #430 by pippinsplugins (2012-10-19 16:46:11+00:00)
Title: Feature Merge: Brand new EDD_Logging class and new upgrade routine

The new EDD_Logging class will be used for logging file downloads, purchases, gateway errors, and anything else we deem appropriate.

The class includes several methods for inserting new log entries, retrieving log entries connected to a certain object ID, and more.

Also introduced in this upgrade is a new upgrade process. A new "edd-upgrades" page has been added and will be used for triggering upgrades via ajax anytime an upgrade is needed to be performed.

Each version number that requires an upgrade process to run will create a function called `edd_v##_upgrades()`, and this function will be executed from the `edd_trigger_upgrades()` in `includes/admin/upgrades/upgrade-functions.php`.

When writing an upgrade function, nothing is to be changed with the `edd-upgrades` page. It is simply a place holder that executes the upgrade process via ajax.