| @@ -7,11 +7,9 @@ | ||
| 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 | - */ | |
| 11 | +// TODO: Move this class to pro version for better architecture. | |
| 14 | 12 | class Canary_Deployment extends Module { |
| 15 | 13 | |
| 16 | 14 | const CURRENT_VERSION = ELEMENTOR_VERSION; |
| 17 | 15 | const PLUGIN_BASE = ELEMENTOR_PLUGIN_BASE; |
| @@ -126,9 +124,9 @@ | ||
| 126 | 124 | foreach ( $group as $condition ) { |
| 127 | 125 | // Reset results for each condition. |
| 128 | 126 | $result = false; |
| 129 | 127 | switch ( $condition['type'] ) { |
| 130 | - case 'wordpress': // phpcs:ignore WordPress.WP.CapitalPDangit.MisspelledInText | |
| 128 | + case 'wordpress': // phpcs:ignore WordPress.WP.CapitalPDangit.Misspelled | |
| 131 | 129 | // include an unmodified $wp_version |
| 132 | 130 | include ABSPATH . WPINC . '/version.php'; |
| 133 | 131 | $result = version_compare( $wp_version, $condition['version'], $condition['operator'] ); |
| 134 | 132 | break; |