pre 3.7 update for wordpress