Compatibility with WP 4.0