| @@ -1,14 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Elementor |
| 4 | - * Description: The Elementor Website Builder has it all: drag and drop page builder, Atomic Editor, pixel perfect design, global and reusable style systems, mobile responsive editing, and more. Get started now! | |
| 4 | + * Description: The Elementor Website Builder has it all: drag and drop page builder, pixel perfect design, mobile responsive editing, and more. Get started now! | |
| 5 | 5 | * Plugin URI: https://elementor.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash |
| 6 | - * Version: 4.0.8 | |
| 6 | + * Version: 3.29.0-dev4 | |
| 7 | 7 | * Author: Elementor.com |
| 8 | 8 | * Author URI: https://elementor.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash |
| 9 | - * Requires PHP: 7.4 | |
| 10 | - * Requires at least: 6.6 | |
| 11 | 9 | * Text Domain: elementor |
| 12 | 10 | * |
| 13 | 11 | * @package Elementor |
| 14 | 12 | * @category Core |
| @@ -27,9 +25,9 @@ | ||
| 27 | 25 | if ( ! defined( 'ABSPATH' ) ) { |
| 28 | 26 | exit; // Exit if accessed directly. |
| 29 | 27 | } |
| 30 | 28 | |
| 31 | -define( 'ELEMENTOR_VERSION', '4.0.8' ); | |
| 29 | +define( 'ELEMENTOR_VERSION', '3.29.0-dev4' ); | |
| 32 | 30 | |
| 33 | 31 | define( 'ELEMENTOR__FILE__', __FILE__ ); |
| 34 | 32 | define( 'ELEMENTOR_PLUGIN_BASE', plugin_basename( ELEMENTOR__FILE__ ) ); |
| 35 | 33 | define( 'ELEMENTOR_PATH', plugin_dir_path( ELEMENTOR__FILE__ ) ); |
| @@ -43,26 +41,13 @@ | ||
| 43 | 41 | define( 'ELEMENTOR_MODULES_PATH', plugin_dir_path( ELEMENTOR__FILE__ ) . '/modules' ); |
| 44 | 42 | define( 'ELEMENTOR_ASSETS_PATH', ELEMENTOR_PATH . 'assets/' ); |
| 45 | 43 | define( 'ELEMENTOR_ASSETS_URL', ELEMENTOR_URL . 'assets/' ); |
| 46 | 44 | |
| 47 | -if ( ! defined( 'ELEMENTOR_EDITOR_EVENTS_MIXPANEL_TOKEN' ) ) { | |
| 48 | - define( 'ELEMENTOR_EDITOR_EVENTS_MIXPANEL_TOKEN', '150605b3b9f979922f2ac5a52e2dcfe9' ); | |
| 49 | -} | |
| 50 | - | |
| 51 | 45 | if ( file_exists( ELEMENTOR_PATH . 'vendor/autoload.php' ) ) { |
| 52 | 46 | require_once ELEMENTOR_PATH . 'vendor/autoload.php'; |
| 53 | 47 | // We need this file because of the DI\create function that we are using. |
| 54 | 48 | // Autoload classmap doesn't include this file. |
| 55 | -} | |
| 56 | - | |
| 57 | -$deprecation_func_file = ELEMENTOR_PATH . 'vendor_prefixed/twig/symfony/deprecation-contracts/function.php'; | |
| 58 | -if ( file_exists( $deprecation_func_file ) ) { | |
| 59 | - require_once $deprecation_func_file; | |
| 60 | - if ( ! function_exists( 'trigger_deprecation' ) ) { | |
| 61 | - function trigger_deprecation( string $package, string $version, string $message, ...$args ): void { | |
| 62 | - \ElementorDeps\trigger_deprecation( $package, $version, $message, ...$args ); | |
| 63 | - } | |
| 64 | - } | |
| 49 | + require_once ELEMENTOR_PATH . 'vendor_prefixed/dependency-injection/php-di/php-di/src/functions.php'; | |
| 65 | 50 | } |
| 66 | 51 | |
| 67 | 52 | if ( ! version_compare( PHP_VERSION, '7.4', '>=' ) ) { |
| 68 | 53 | add_action( 'admin_notices', 'elementor_fail_php_version' ); |