Make it compatible with WP 3.8