making everything still work in wp < 3.8