added tested up to WP Version 4.0  I have tested this on multiple 4.0 installations and everything works fine

git-svn-id: https://plugins.svn.wordpress.org/wp-database-optimizer/trunk@1016982 b8457f37-d9ea-0310-8a92-e5e31aec5664