PluginProbe
Image Optimizer – Compress Images and Convert to WebP or AVIF / trunk
Image Optimizer – Compress Images and Convert to WebP or AVIF vtrunk
1.7.7 1.7.6 1.7.5 1.7.4 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 All 33 releases
← All changes | includes/modules-manager.php +9 -5 1.0.1 → trunk View file →
@@ -1,12 +1,12 @@
1 1 <?php
2 2
3 -namespace ImageOptimizer;
3 +namespace ImageOptimization;
4 4
5 -use ImageOptimizer\Classes\Module_Base;
5 +use ImageOptimization\Classes\Module_Base;
6 6
7 7 if ( ! defined( 'ABSPATH' ) ) {
8 - exit; // Exit if accessed directly
8 + exit; // Exit if accessed directly.
9 9 }
10 10
11 11 final class Manager {
12 12 /**
@@ -15,14 +15,18 @@
15 15 private array $modules = [];
16 16
17 17 public static function get_module_list(): array {
18 18 return [
19 - 'settings',
20 19 'core',
20 + 'connect',
21 21 'Oauth',
22 + 'connect-manager',
23 + 'settings',
22 24 'stats',
23 25 'optimization',
24 26 'backups',
27 + 'Deactivation',
28 + 'reviews',
25 29 ];
26 30 }
27 31
28 32 /**
@@ -63,7 +67,7 @@
63 67 return $this->modules;
64 68 }
65 69
66 70 public function include_external_libraries() {
67 - require_once IMAGE_OPTIMIZER_PATH . 'vendor/woocommerce/action-scheduler/action-scheduler.php';
71 + require_once IMAGE_OPTIMIZATION_PATH . 'vendor/woocommerce/action-scheduler/action-scheduler.php';
68 72 }
69 73 }