Add thrid parameter for  to edd_is_discount_valid(). Might fux #2682
Merge branch 'master' of github.com:easydigitaldownloads/Easy-Digital-Downloads