WordPress at Your Fingertips
function is not described

PclZip::privSwapBackMagicQuotes() public WP 1.0

Function : privSwapBackMagicQuotes() Description : Parameters : Return Values :

{} It's a method of the class: PclZip{}

No Hooks.

Return

null. Nothing.

Usage

$PclZip = new PclZip();
$PclZip->privSwapBackMagicQuotes();

Code of PclZip::privSwapBackMagicQuotes() WP 5.8.2

function privSwapBackMagicQuotes()
{
  $v_result=1;

	// EDIT for WordPress 5.3.0
	// magic_quote functions are deprecated in PHP 7.4, now assuming it's always off.
	/*

  // ----- Look if function exists
  if (   (!function_exists("get_magic_quotes_runtime"))
	    || (!function_exists("set_magic_quotes_runtime"))) {
    return $v_result;
	}

  // ----- Look if something to do
  if ($this->magic_quotes_status != -1) {
    return $v_result;
	}

	// ----- Swap back magic_quotes
	if ($this->magic_quotes_status == 1) {
	  @set_magic_quotes_runtime($this->magic_quotes_status);
	}

	*/
  // ----- Return
  return $v_result;
}