PluginProbe
Elementor Website Builder – more than just a page builder / 4.3.0-beta3
Elementor Website Builder – more than just a page builder v4.3.0-beta3
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | elementor.php +9 -6 4.1.0-beta24.3.0-beta3 View file →
@@ -2,13 +2,13 @@
2 2 /**
3 3 * Plugin Name: Elementor
4 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!
5 5 * Plugin URI: https://elementor.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
6 - * Version: 4.1.0-beta2
6 + * Version: 4.3.0-beta3
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 9 * Requires PHP: 7.4
10 - * Requires at least: 6.6
10 + * Requires at least: 6.8
11 11 * Text Domain: elementor
12 12 *
13 13 * @package Elementor
14 14 * @category Core
@@ -27,9 +27,10 @@
27 27 if ( ! defined( 'ABSPATH' ) ) {
28 28 exit; // Exit if accessed directly.
29 29 }
30 30
31 -define( 'ELEMENTOR_VERSION', '4.1.0-beta2' );
31 +define( 'ELEMENTOR_VERSION', '4.3.0-beta3' );
32 +define( 'ELEMENTOR_MINIMUM_WP_VERSION', '6.8' );
32 33
33 34 define( 'ELEMENTOR__FILE__', __FILE__ );
34 35 define( 'ELEMENTOR_PLUGIN_BASE', plugin_basename( ELEMENTOR__FILE__ ) );
35 36 define( 'ELEMENTOR_PATH', plugin_dir_path( ELEMENTOR__FILE__ ) );
@@ -47,9 +48,11 @@
47 48 if ( ! defined( 'ELEMENTOR_EDITOR_EVENTS_MIXPANEL_TOKEN' ) ) {
48 49 define( 'ELEMENTOR_EDITOR_EVENTS_MIXPANEL_TOKEN', '150605b3b9f979922f2ac5a52e2dcfe9' );
49 50 }
50 51
51 -if ( file_exists( ELEMENTOR_PATH . 'vendor/autoload.php' ) ) {
52 +if ( file_exists( ELEMENTOR_PATH . 'vendor/autoload_packages.php' ) ) {
53 + require_once ELEMENTOR_PATH . 'vendor/autoload_packages.php';
54 +} elseif ( file_exists( ELEMENTOR_PATH . 'vendor/autoload.php' ) ) {
52 55 require_once ELEMENTOR_PATH . 'vendor/autoload.php';
53 56 // We need this file because of the DI\create function that we are using.
54 57 // Autoload classmap doesn't include this file.
55 58 }
@@ -65,9 +68,9 @@
65 68 }
66 69
67 70 if ( ! version_compare( PHP_VERSION, '7.4', '>=' ) ) {
68 71 add_action( 'admin_notices', 'elementor_fail_php_version' );
69 -} elseif ( ! version_compare( get_bloginfo( 'version' ), '6.5', '>=' ) ) {
72 +} elseif ( ! version_compare( get_bloginfo( 'version' ), ELEMENTOR_MINIMUM_WP_VERSION, '>=' ) ) {
70 73 add_action( 'admin_notices', 'elementor_fail_wp_version' );
71 74 } else {
72 75 require ELEMENTOR_PATH . 'includes/plugin.php';
73 76 }
@@ -111,9 +114,9 @@
111 114 esc_html__( 'Elementor isn’t running because WordPress is outdated.', 'elementor' ),
112 115 sprintf(
113 116 /* translators: %s: WordPress version. */
114 117 esc_html__( 'Update to version %s and get back to creating!', 'elementor' ),
115 - '6.5'
118 + ELEMENTOR_MINIMUM_WP_VERSION
116 119 ),
117 120 esc_html__( 'Show me how', 'elementor' )
118 121 );
119 122