diff --git src/wp-admin/menu-header.php src/wp-admin/menu-header.php
index ee90d23152..3e5964faa3 100644
--- src/wp-admin/menu-header.php
+++ src/wp-admin/menu-header.php
@@ -11,6 +11,7 @@
  *
  * @global string $self
  */
+global $self;
 $self = preg_replace( '|^.*/wp-admin/network/|i', '', $_SERVER['PHP_SELF'] );
 $self = preg_replace( '|^.*/wp-admin/|i', '', $self );
 $self = preg_replace( '|^.*/plugins/|i', '', $self );
diff --git src/wp-admin/menu.php src/wp-admin/menu.php
index 05da5f213a..de6c771da5 100644
--- src/wp-admin/menu.php
+++ src/wp-admin/menu.php
@@ -20,7 +20,7 @@
  *
  * @global array $menu
  */
-
+global $menu;
 $menu[2] = array( __( 'Dashboard' ), 'read', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'dashicons-dashboard' );
 
 $submenu['index.php'][0] = array( __( 'Home' ), 'read', 'index.php' );
diff --git src/wp-includes/shortcodes.php src/wp-includes/shortcodes.php
index 938e796fa7..a7781560bc 100644
--- src/wp-includes/shortcodes.php
+++ src/wp-includes/shortcodes.php
@@ -39,6 +39,7 @@
  * @var array
  * @global array $shortcode_tags
  */
+global $shortcode_tags;
 $shortcode_tags = array();
 
 /**
diff --git src/wp-includes/version.php src/wp-includes/version.php
index 19ca8b4933..9fdd082a3f 100644
--- src/wp-includes/version.php
+++ src/wp-includes/version.php
@@ -16,6 +16,7 @@
  *
  * @global string $wp_version
  */
+global $wp_version;
 $wp_version = '6.2-alpha-54642-src';
 
 /**
@@ -23,6 +24,7 @@ $wp_version = '6.2-alpha-54642-src';
  *
  * @global int $wp_db_version
  */
+global $wp_db_version;
 $wp_db_version = 53496;
 
 /**
@@ -30,6 +32,7 @@ $wp_db_version = 53496;
  *
  * @global string $tinymce_version
  */
+global $tinymce_version;
 $tinymce_version = '49110-20201110';
 
 /**
@@ -37,6 +40,7 @@ $tinymce_version = '49110-20201110';
  *
  * @global string $required_php_version
  */
+global $required_php_version;
 $required_php_version = '5.6.20';
 
 /**
@@ -44,4 +48,5 @@ $required_php_version = '5.6.20';
  *
  * @global string $required_mysql_version
  */
+global $required_mysql_version;
 $required_mysql_version = '5.0';
