Fix infinite loop with retrieving payment amount
#1225 - Disable Admin Notifiations spelling error
Merge pull request #1226 from cklosowski/1225-pull-req

#1225 - Disable Admin Notifiations spelling error. Closes #1225.
Added new edd_empty_cart action
Merge branch 'master' of github.com:easydigitaldownloads/Easy-Digital-Downloads
Correct daily_events() schedule check
Moves $after_widget so its only printed when the logged in user has purchases to display. Now corresponds with $before_widet.
Merge pull request #1227 from stephenharris/master

$after_widget printed event when $before_widget isn't
Move price check before filter
Merge branch 'master' of github.com:easydigitaldownloads/Easy-Digital-Downloads
Remove $download_id from edd_show_has_purchased_item_message()

Removed $download_id from edd_show_has_purchased_item_message() function since it will always be the post ID. This makes it possible to remove and rehook the message without passing $post->ID to the action hook.
swapped get_the_ID() for $post->ID to avoid PHP notice
Merge pull request #1230 from sumobi/master

Remove $download_id from edd_show_has_purchased_item_message()
Add cbt variable for PayPal
Fixed problem with payment history showing incorrecet names
Pass gateway from  to edd_purchase_data_before_gateway
make 'preapproved' payments get same access rights as 'complete' payments

This small tweak seems to address what I brought up in [issue #1232 for EDD](https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues/1232)
Fix [download_discounts] invalid argument warning.

An invalid argument supplied warning is thrown when there are no
discounts.
Fix empty [download_discounts] invalid argument warning.
Correction misspelling