| @@ -1,14 +1,13 @@ | ||
| 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.1.0-dev3 | |
| 7 | 6 | * Author: Elementor.com |
| 7 | + * Version: 3.25.8 | |
| 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 | |
| 9 | + * | |
| 11 | 10 | * Text Domain: elementor |
| 12 | 11 | * |
| 13 | 12 | * @package Elementor |
| 14 | 13 | * @category Core |
| @@ -27,9 +26,9 @@ | ||
| 27 | 26 | if ( ! defined( 'ABSPATH' ) ) { |
| 28 | 27 | exit; // Exit if accessed directly. |
| 29 | 28 | } |
| 30 | 29 | |
| 31 | -define( 'ELEMENTOR_VERSION', '4.1.0-dev3' ); | |
| 30 | +define( 'ELEMENTOR_VERSION', '3.25.8' ); | |
| 32 | 31 | |
| 33 | 32 | define( 'ELEMENTOR__FILE__', __FILE__ ); |
| 34 | 33 | define( 'ELEMENTOR_PLUGIN_BASE', plugin_basename( ELEMENTOR__FILE__ ) ); |
| 35 | 34 | define( 'ELEMENTOR_PATH', plugin_dir_path( ELEMENTOR__FILE__ ) ); |
| @@ -43,31 +42,18 @@ | ||
| 43 | 42 | define( 'ELEMENTOR_MODULES_PATH', plugin_dir_path( ELEMENTOR__FILE__ ) . '/modules' ); |
| 44 | 43 | define( 'ELEMENTOR_ASSETS_PATH', ELEMENTOR_PATH . 'assets/' ); |
| 45 | 44 | define( 'ELEMENTOR_ASSETS_URL', ELEMENTOR_URL . 'assets/' ); |
| 46 | 45 | |
| 47 | -if ( ! defined( 'ELEMENTOR_EDITOR_EVENTS_MIXPANEL_TOKEN' ) ) { | |
| 48 | - define( 'ELEMENTOR_EDITOR_EVENTS_MIXPANEL_TOKEN', '150605b3b9f979922f2ac5a52e2dcfe9' ); | |
| 49 | -} | |
| 50 | - | |
| 51 | 46 | if ( file_exists( ELEMENTOR_PATH . 'vendor/autoload.php' ) ) { |
| 52 | 47 | require_once ELEMENTOR_PATH . 'vendor/autoload.php'; |
| 53 | 48 | // We need this file because of the DI\create function that we are using. |
| 54 | 49 | // Autoload classmap doesn't include this file. |
| 50 | + require_once ELEMENTOR_PATH . 'vendor_prefixed/php-di/php-di/src/functions.php'; | |
| 55 | 51 | } |
| 56 | 52 | |
| 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 | - } | |
| 65 | -} | |
| 66 | - | |
| 67 | 53 | if ( ! version_compare( PHP_VERSION, '7.4', '>=' ) ) { |
| 68 | 54 | add_action( 'admin_notices', 'elementor_fail_php_version' ); |
| 69 | -} elseif ( ! version_compare( get_bloginfo( 'version' ), '6.5', '>=' ) ) { | |
| 55 | +} elseif ( ! version_compare( get_bloginfo( 'version' ), '6.3', '>=' ) ) { | |
| 70 | 56 | add_action( 'admin_notices', 'elementor_fail_wp_version' ); |
| 71 | 57 | } else { |
| 72 | 58 | require ELEMENTOR_PATH . 'includes/plugin.php'; |
| 73 | 59 | } |
| @@ -111,9 +97,9 @@ | ||
| 111 | 97 | esc_html__( 'Elementor isn’t running because WordPress is outdated.', 'elementor' ), |
| 112 | 98 | sprintf( |
| 113 | 99 | /* translators: %s: WordPress version. */ |
| 114 | 100 | esc_html__( 'Update to version %s and get back to creating!', 'elementor' ), |
| 115 | - '6.5' | |
| 101 | + '6.3' | |
| 116 | 102 | ), |
| 117 | 103 | esc_html__( 'Show me how', 'elementor' ) |
| 118 | 104 | ); |
| 119 | 105 | |