tested in Wordpress 4.0