Get plugin activation working in WP 3.6 beta 2