--- wp-includes/version.php     (revision 30491)
+++ wp-includes/version.php     (working copy)
@@ -6,6 +6,8 @@
  */
 $wp_version = '4.1-beta2-30502';
 
+if (!defined('WP_VERSION')) define('WP_VERSION', $wp_version);
+
 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
  *
