404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.14.250.255: ~ $
<?php
/**
 * The Third Party integration with the bbPress plugin.
 *
 * @since		2.9.8.8
 */
namespace LiteSpeed\Thirdparty;
defined('WPINC') || exit();

use LiteSpeed\Debug2;

class Elementor
{
	public static function preload()
	{
		if (!defined('ELEMENTOR_VERSION')) {
			return;
		}

		if (!is_admin()) {
			//		    add_action( 'init', __CLASS__ . '::disable_litespeed_esi', 4 );	// temporarily comment out this line for backward compatibility
		}

		if (isset($_GET['action']) && $_GET['action'] === 'elementor') {
			do_action('litespeed_disable_all', 'elementor edit mode');
		}

		if (!empty($_SERVER['HTTP_REFERER']) && strpos($_SERVER['HTTP_REFERER'], 'action=elementor')) {
			if (!empty($_REQUEST['actions'])) {
				$json = json_decode(stripslashes($_REQUEST['actions']), true);
				// Debug2::debug( '3rd Elementor', $json );
				if (
					!empty($json['save_builder']['action']) &&
					$json['save_builder']['action'] == 'save_builder' &&
					!empty($json['save_builder']['data']['status']) &&
					$json['save_builder']['data']['status'] == 'publish'
				) {
					return; // Save post, don't disable all in case we will allow fire crawler right away after purged
				}
			}
			do_action('litespeed_disable_all', 'elementor edit mode in HTTP_REFERER');
		}
	}

	public static function disable_litespeed_esi()
	{
		define('LITESPEED_ESI_OFF', true);
	}
}

Filemanager

Name Type Size Permission Actions
aelia-currencyswitcher.cls.php File 1.79 KB 0644
amp.cls.php File 1.88 KB 0644
autoptimize.cls.php File 730 B 0644
avada.cls.php File 647 B 0644
bbpress.cls.php File 2.32 KB 0644
beaver-builder.cls.php File 933 B 0644
caldera-forms.cls.php File 403 B 0644
divi-theme-builder.cls.php File 2.2 KB 0644
elementor.cls.php File 1.34 KB 0644
entry.inc.php File 1.46 KB 0644
facetwp.cls.php File 685 B 0644
gravity-forms.cls.php File 525 B 0644
litespeed-check.cls.php File 4.64 KB 0644
nextgengallery.cls.php File 6.15 KB 0644
perfmatters.cls.php File 575 B 0644
theme-my-login.cls.php File 875 B 0644
user-switching.cls.php File 509 B 0644
wc-pdf-product-vouchers.cls.php File 645 B 0644
wcml.cls.php File 932 B 0644
woo-paypal.cls.php File 594 B 0644
woocommerce.cls.php File 23.78 KB 0644
woocommerce.content.tpl.php File 3.45 KB 0644
woocommerce.tab.tpl.php File 184 B 0644
wp-polls.cls.php File 480 B 0644
wp-postratings.cls.php File 606 B 0644
wpdiscuz.cls.php File 793 B 0644
wplister.cls.php File 689 B 0644
wpml.cls.php File 627 B 0644
wptouch.cls.php File 704 B 0644
yith-wishlist.cls.php File 4.32 KB 0644