tested up to WordPress 4.1