WordPress 4.0 compatibility