| @@ -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.0.8 | |
| 6 | + * Version: 4.2.2 | |
| 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.0.8' ); | |
| 31 | +define( 'ELEMENTOR_VERSION', '4.2.2' ); | |
| 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__ ) ); |
| @@ -65,9 +66,9 @@ | ||
| 65 | 66 | } |
| 66 | 67 | |
| 67 | 68 | if ( ! version_compare( PHP_VERSION, '7.4', '>=' ) ) { |
| 68 | 69 | add_action( 'admin_notices', 'elementor_fail_php_version' ); |
| 69 | -} elseif ( ! version_compare( get_bloginfo( 'version' ), '6.5', '>=' ) ) { | |
| 70 | +} elseif ( ! version_compare( get_bloginfo( 'version' ), ELEMENTOR_MINIMUM_WP_VERSION, '>=' ) ) { | |
| 70 | 71 | add_action( 'admin_notices', 'elementor_fail_wp_version' ); |
| 71 | 72 | } else { |
| 72 | 73 | require ELEMENTOR_PATH . 'includes/plugin.php'; |
| 73 | 74 | } |
| @@ -111,9 +112,9 @@ | ||
| 111 | 112 | esc_html__( 'Elementor isn’t running because WordPress is outdated.', 'elementor' ), |
| 112 | 113 | sprintf( |
| 113 | 114 | /* translators: %s: WordPress version. */ |
| 114 | 115 | esc_html__( 'Update to version %s and get back to creating!', 'elementor' ), |
| 115 | - '6.5' | |
| 116 | + ELEMENTOR_MINIMUM_WP_VERSION | |
| 116 | 117 | ), |
| 117 | 118 | esc_html__( 'Show me how', 'elementor' ) |
| 118 | 119 | ); |
| 119 | 120 | |