Compatibility with WordPress 4.0