Warning: This function has been deprecated.

Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

wp_unregister_GLOBALS() WordPress Function

The wp_unregister_GLOBALS() function is used to unregister the global variables from the Wordpress environment. This function is useful for security purposes, as it helps to prevent any malicious code from being executed.

wp_unregister_GLOBALS() #

Turn register globals off.


Source

File: wp-includes/deprecated.php

function wp_unregister_GLOBALS() {  // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
	// register_globals was deprecated in PHP 5.3 and removed entirely in PHP 5.4.
	_deprecated_function( __FUNCTION__, '5.5.0' );
}


Top ↑

Changelog

Changelog
VersionDescription
5.5.0This function has been deprecated.
2.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More