[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor
/
modules
/
interactions
/
validators
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 breakpoints-value.php
1,652 B
SET
[ EDIT ]
|
[ DEL ]
📄 custom-effect-value.php
851 B
SET
[ EDIT ]
|
[ DEL ]
📄 string-value.php
634 B
SET
[ EDIT ]
|
[ DEL ]
📄 trigger-value.php
505 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: breakpoints-value.php
<?php namespace Elementor\Modules\Interactions\Validators; use Elementor\Modules\Interactions\Validators\String_Value as StringValueValidator; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Breakpoints_Value { public static function is_valid( $breakpoints_prop_value ) { if ( ! is_array( $breakpoints_prop_value ) ) { return false; } if ( ! isset( $breakpoints_prop_value['$$type'] ) || 'interaction-breakpoints' !== $breakpoints_prop_value['$$type'] ) { return false; } if ( ! isset( $breakpoints_prop_value['value'] ) || ! is_array( $breakpoints_prop_value['value'] ) ) { return false; } return self::validate_value( $breakpoints_prop_value['value'] ); } private static function validate_value( $value ) { if ( ! is_array( $value ) ) { return false; } if ( ! isset( $value['excluded'] ) || ! is_array( $value['excluded'] ) ) { return false; } return self::validate_excluded( $value['excluded'] ); } private static function validate_excluded( $excluded ) { if ( ! is_array( $excluded ) ) { return false; } if ( ! isset( $excluded['$$type'] ) || 'excluded-breakpoints' !== $excluded['$$type'] ) { return false; } if ( ! isset( $excluded['value'] ) || ! is_array( $excluded['value'] ) ) { return false; } return self::validate_excluded_value( $excluded['value'] ); } private static function validate_excluded_value( $value ) { if ( ! is_array( $value ) ) { return false; } foreach ( $value as $breakpoint_value ) { if ( ! StringValueValidator::is_valid( $breakpoint_value ) ) { return false; } } return true; } }