update for wordpress 4.0