Added support for Wordpress 3.8