Include stats class. #1376
Fix syntax errors. #1376
Put defaults into function def. #1376
Don't supporess filters, remove transients for testing. #1376
Make where filters public. #1376
Return WP_Error if dates are invalid
Setup some of the predefined date ranges. #1376
Comments on wp_error returns. #1376
Set enddate to start date if not set. #1376
Setup day for last/this_month. #1376
Correct payment/count_where. #1376
Account for single days. #1376
UNdo dumb single_day thing and replace with hour::minute:second. #1376
Date for yesterday. #1376
Correct last/this_week dates. #1376
Setup quarter ranges
Setup this/last_year. #1376
Remove unncessary current_time(). #1376
Check for timestamp. #1376
remove unused variables. #1376