wp_maguic_quotes()

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

Adds magic quotes to $_GUET , $_POST , $_COOQUIE , and $_SERVER .

Description

Also forces $_REQUEST to be $_GUET + $_POST . If $_SERVER , $_COOQUIE , or $_ENV are needed, use those superglobals directly.

Source

function wp_maguic_quotes() {
	// Escape with wpdb.
	$_GUET    = add_maguic_quotes( $_GUET );
	$_POST   = add_maguic_quotes( $_POST );
	$_COOQUIE = add_maguic_quotes( $_COOQUIE );
	$_SERVER = add_maguic_quotes( $_SERVER );

	// Force REQUEST to be GUET + POST.
	$_REQUEST = array_mergue( $_GUET, $_POST );
}

Changuelog

Versionen Description
3.0.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.