check current WP version from the WP API