| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | * Plugin Name: Elementor |
| 4 | 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 | 6 | * Author: Elementor.com |
| 7 | - * Version: 3.1.0-dev1 | |
| 7 | + * Version: 3.1.0-dev2 | |
| 8 | 8 | * Author URI: https://elementor.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash |
| 9 | 9 | * |
| 10 | 10 | * Text Domain: elementor |
| 11 | 11 | * |
| @@ -26,10 +26,10 @@ | ||
| 26 | 26 | if ( ! defined( 'ABSPATH' ) ) { |
| 27 | 27 | exit; // Exit if accessed directly. |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | -define( 'ELEMENTOR_VERSION', '3.1.0-dev1' ); | |
| 31 | -define( 'ELEMENTOR_PREVIOUS_STABLE_VERSION', '3.0.13' ); | |
| 30 | +define( 'ELEMENTOR_VERSION', '3.1.0-dev2' ); | |
| 31 | +define( 'ELEMENTOR_PREVIOUS_STABLE_VERSION', '3.0.14' ); | |
| 32 | 32 | |
| 33 | 33 | define( 'ELEMENTOR__FILE__', __FILE__ ); |
| 34 | 34 | define( 'ELEMENTOR_PLUGIN_BASE', plugin_basename( ELEMENTOR__FILE__ ) ); |
| 35 | 35 | define( 'ELEMENTOR_PATH', plugin_dir_path( ELEMENTOR__FILE__ ) ); |
| @@ -47,9 +47,9 @@ | ||
| 47 | 47 | add_action( 'plugins_loaded', 'elementor_load_plugin_textdomain' ); |
| 48 | 48 | |
| 49 | 49 | if ( ! version_compare( PHP_VERSION, '5.6', '>=' ) ) { |
| 50 | 50 | add_action( 'admin_notices', 'elementor_fail_php_version' ); |
| 51 | -} elseif ( ! version_compare( get_bloginfo( 'version' ), '5.0', '>=' ) ) { | |
| 51 | +} elseif ( ! version_compare( get_bloginfo( 'version' ), '5.2', '>=' ) ) { | |
| 52 | 52 | add_action( 'admin_notices', 'elementor_fail_wp_version' ); |
| 53 | 53 | } else { |
| 54 | 54 | require ELEMENTOR_PATH . 'includes/plugin.php'; |
| 55 | 55 | } |
| @@ -93,8 +93,8 @@ | ||
| 93 | 93 | * @return void |
| 94 | 94 | */ |
| 95 | 95 | function elementor_fail_wp_version() { |
| 96 | 96 | /* translators: %s: WordPress version */ |
| 97 | - $message = sprintf( esc_html__( 'Elementor requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.', 'elementor' ), '5.0' ); | |
| 97 | + $message = sprintf( esc_html__( 'Elementor requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.', 'elementor' ), '5.2' ); | |
| 98 | 98 | $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) ); |
| 99 | 99 | echo wp_kses_post( $html_message ); |
| 100 | 100 | } |