Index: wp-includes/default-constants.php
===================================================================
--- wp-includes/default-constants.php	(Revision 36967)
+++ wp-includes/default-constants.php	(Arbeitskopie)
@@ -13,9 +13,10 @@
  * @since 3.0.0
  *
  * @global int $blog_id
+ * @global string $wp_version
  */
 function wp_initial_constants() {
-	global $blog_id;
+	global $blog_id, $wp_version;
 
 	// set memory limits
 	if ( !defined('WP_MEMORY_LIMIT') ) {
@@ -121,6 +122,14 @@
 	define( 'GB_IN_BYTES', 1024 * MB_IN_BYTES );
 	define( 'TB_IN_BYTES', 1024 * GB_IN_BYTES );
 	/**#@-*/
+	
+	/**#@+
+	 * Constant which stores the WordPress version.
+	 *
+	 * @since 4.6.0
+	 */
+	define( 'WP_VERSION', $wp_version );
+	/**#@-*/
 }
 
 /**
