https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /home/idn98.co/public_html/wp-content/plugins/litespeed-cache/thirdparty/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/idn98.co/public_html/wp-content/plugins/litespeed-cache/thirdparty/user-switching.cls.php
<?php
/**
 * The Third Party integration with User Switching.
 *
 * @since 3.0
 * @package LiteSpeed
 * @subpackage LiteSpeed_Cache\Thirdparty
 */

namespace LiteSpeed\Thirdparty;

defined('WPINC') || exit();

/**
 * Provides compatibility for the User Switching plugin.
 */
class User_Switching {

	/**
	 * Detects if User Switching is active and registers required nonces.
	 *
	 * @since 3.0
	 * @access public
	 * @return void
	 */
	public static function detect() {
		if (!class_exists('user_switching')) {
			return;
		}

		/**
		 * Register switch back URL nonce.
		 *
		 * @since 3.0
		 */
		if (function_exists('current_user_switched')) {
			$old_user = current_user_switched();
			if ($old_user) {
				do_action('litespeed_nonce', 'switch_to_olduser_' . $old_user->ID);
			}
		}
	}
}

https://t.me/RX1948 - 2025