tested with WordPress 3.9