Add compatibility for EDD 1.8 and earlier by hooking into both locations