diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php
index f4e50a2a1c..6c9e5f6fcf 100644
--- a/src/wp-includes/deprecated.php
+++ b/src/wp-includes/deprecated.php
@@ -3983,3 +3983,15 @@ function wp_make_content_images_responsive( $content ) {
 	// This will also add the `loading` attribute to `img` tags, if enabled.
 	return wp_filter_content_tags( $content );
 }
+
+/**
+ * Turn register globals off.
+ *
+ * @since 2.1.0
+ * @access private
+ * @deprecated 5.5.0
+ */
+function wp_unregister_GLOBALS() {  // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
+	// register_globals is removed from PHP 5.4 and is no longer functional.
+	_deprecated_function( __FUNCTION__, '5.5.0' );
+}
diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php
index b890e4e9ac..897f5842e1 100644
--- a/src/wp-includes/load.php
+++ b/src/wp-includes/load.php
@@ -20,32 +20,6 @@ function wp_get_server_protocol() {
 	return $protocol;
 }
 
-/**
- * Turn register globals off.
- *
- * @since 2.1.0
- * @access private
- */
-function wp_unregister_GLOBALS() {  // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
-	if ( ! ini_get( 'register_globals' ) ) {
-		return;
-	}
-
-	if ( isset( $_REQUEST['GLOBALS'] ) ) {
-		die( 'GLOBALS overwrite attempt detected' );
-	}
-
-	// Variables that shouldn't be unset.
-	$no_unset = array( 'GLOBALS', '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', 'table_prefix' );
-
-	$input = array_merge( $_GET, $_POST, $_COOKIE, $_SERVER, $_ENV, $_FILES, isset( $_SESSION ) && is_array( $_SESSION ) ? $_SESSION : array() );
-	foreach ( $input as $k => $v ) {
-		if ( ! in_array( $k, $no_unset, true ) && isset( $GLOBALS[ $k ] ) ) {
-			unset( $GLOBALS[ $k ] );
-		}
-	}
-}
-
 /**
  * Fix `$_SERVER` variables for various setups.
  *
diff --git a/src/wp-settings.php b/src/wp-settings.php
index 77bfeced23..1a5f296733 100644
--- a/src/wp-settings.php
+++ b/src/wp-settings.php
@@ -67,9 +67,6 @@
 // phpcs:ignore WordPress.DateTime.RestrictedFunctions.timezone_change_date_default_timezone_set
 date_default_timezone_set( 'UTC' );
 
-// Turn register_globals off.
-wp_unregister_GLOBALS();
-
 // Standardize $_SERVER variables across setups.
 wp_fix_server_vars();
 
