403Webshell
Server IP : 72.60.233.178  /  Your IP : 216.73.216.91
Web Server : Apache
System : Linux srv1210665.hstgr.cloud 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : armaladmin ( 1001)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/armaladmin/public_html/wp-content/themes/Divi/includes/builder/compat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/armaladmin/public_html/wp-content/themes/Divi/includes/builder/compat/scripts.php
<?php
/**
 * Compatibility code that deals with 3P Services which are not integrated via
 * WP Plugins (eg. code added via integration / Code Module) because not hosted locally.
 *
 * @package Divi
 * @subpackage Builder
 * @since 4.10.5
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

// Disable JQuery Body feature when certain 3P form services are used.
// phpcs:disable PEAR.Functions.FunctionCallSignature.MultipleArguments -- Anonymous functions.
// phpcs:disable PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket -- Anonymous functions.
// phpcs:disable PEAR.Functions.FunctionCallSignature.CloseBracketLine -- Anonymous functions.
add_filter( 'et_builder_enable_jquery_body', function( $enabled, $content = '' ) {
	if ( empty( $content ) ) {
		return $enabled;
	}

	$services = [
		'et_builder_disable_jquery_body',
		'slick.js',
		'webforms/bbox-min.js',
		'www.cognitoforms.com',
		'mailchimp.com',
		'mindbodyonline.com/javascripts',
		'static.smartrecruiters.com/job-widget/',
		'default.salsalabs.org/api/widget/',
	];

	$services = array_filter( $services, 'preg_quote' );
	$pattern  = '#(' . implode( '|', $services ) . ')#';

	// Disable when the service is found.
	return 1 === preg_match( $pattern, $content ) ? false : $enabled;
}, 10, 2);
// phpcs:enable

Youez - 2016 - github.com/yon3zu
LinuXploit