PluginProbe
Elementor Website Builder – more than just a page builder / 3.6.6
Elementor Website Builder – more than just a page builder v3.6.6
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 | core/admin/canary-deployment.php +1 -4 4.0.73.6.6 View file →
@@ -7,11 +7,8 @@
7 7 if ( ! defined( 'ABSPATH' ) ) {
8 8 exit; // Exit if accessed directly.
9 9 }
10 10
11 -/**
12 - * TODO: Move this class to pro version for better architecture.
13 - */
14 11 class Canary_Deployment extends Module {
15 12
16 13 const CURRENT_VERSION = ELEMENTOR_VERSION;
17 14 const PLUGIN_BASE = ELEMENTOR_PLUGIN_BASE;
@@ -126,9 +123,9 @@
126 123 foreach ( $group as $condition ) {
127 124 // Reset results for each condition.
128 125 $result = false;
129 126 switch ( $condition['type'] ) {
130 - case 'wordpress': // phpcs:ignore WordPress.WP.CapitalPDangit.MisspelledInText
127 + case 'wordpress': // phpcs:ignore WordPress.WP.CapitalPDangit.Misspelled
131 128 // include an unmodified $wp_version
132 129 include ABSPATH . WPINC . '/version.php';
133 130 $result = version_compare( $wp_version, $condition['version'], $condition['operator'] );
134 131 break;