Tested up to WP 4.0. Remove the last todo item due to my laziness