[ 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
/
atomic-widgets
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 base
SET
[ DEL ]
📁 cache-validity
SET
[ DEL ]
📁 controls
SET
[ DEL ]
📁 database
SET
[ DEL ]
📁 dynamic-tags
SET
[ DEL ]
📁 elements
SET
[ DEL ]
📁 import-export
SET
[ DEL ]
📁 library
SET
[ DEL ]
📁 loader
SET
[ DEL ]
📁 logger
SET
[ DEL ]
📁 opt-in
SET
[ DEL ]
📁 parsers
SET
[ DEL ]
📁 prop-dependencies
SET
[ DEL ]
📁 prop-type-migrations
SET
[ DEL ]
📁 prop-types
SET
[ DEL ]
📁 props-resolver
SET
[ DEL ]
📁 query
SET
[ DEL ]
📁 styles
SET
[ DEL ]
📁 template-renderer
SET
[ DEL ]
📁 usage
SET
[ DEL ]
📁 utils
SET
[ DEL ]
📄 module.php
25,304 B
SET
[ EDIT ]
|
[ DEL ]
📄 render-context.php
927 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: render-context.php
<?php namespace Elementor\Modules\AtomicWidgets; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Render_Context { private static $context_stack = []; public static function push( string $key, array $context ): void { if ( ! self::get( $key ) ) { self::$context_stack[ $key ] = []; } self::$context_stack[ $key ][] = $context; } public static function pop( string $key ): void { if ( isset( self::$context_stack[ $key ] ) && ! empty( self::$context_stack[ $key ] ) ) { array_pop( self::$context_stack[ $key ] ); } } public static function get( string $key ): array { if ( ! isset( self::$context_stack[ $key ] ) || empty( self::$context_stack[ $key ] ) ) { return []; } $last_key = array_key_last( self::$context_stack[ $key ] ); return self::$context_stack[ $key ][ $last_key ]; } public static function clear(): void { self::$context_stack = []; } }