pippinsplugins/Easy-Digital-Downloads — pull request #1086 by cklosowski (2013-04-15 02:54:48+00:00)
Title: #1026 - Enhancement to stats API response

This should do the trick. Sets up a possible 'null' type, and if so returns the default data sets for sales and earnings. Also moves the 'default' for both sales and earnings into a private method so as to only need 1 edit to update these displays for both null, sales (default), and earnings (default)