Updated for pippin: https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues/1722#issuecomment-28716866