| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: FlyWP |
| 4 | 4 | * Plugin URI: https://flywp.com |
| 5 | 5 | * Description: Helper plugin for FlyWP |
| 6 | - * Version: 1.2 | |
| 6 | + * Version: 1.3 | |
| 7 | 7 | * Author: FlyWP |
| 8 | 8 | * Author URI: https://flywp.com/?utm_source=wporg&utm_medium=banner&utm_campaign=author-uri |
| 9 | 9 | * License: GPL2 |
| 10 | 10 | */ |
| @@ -40,9 +40,9 @@ | ||
| 40 | 40 | * Plugin version. |
| 41 | 41 | * |
| 42 | 42 | * @var string |
| 43 | 43 | */ |
| 44 | - public $version = '1.2'; | |
| 44 | + public $version = '1.3'; | |
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * Plugin Constructor. |
| 48 | 48 | * |
| @@ -101,15 +101,16 @@ | ||
| 101 | 101 | } else { |
| 102 | 102 | $this->frontend = new FlyWP\Frontend(); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | - $this->router = new FlyWP\Router(); | |
| 106 | - $this->rest = new FlyWP\Api(); | |
| 107 | - $this->fastcgi = new FlyWP\Fastcgi_Cache(); | |
| 108 | - $this->opcache = new FlyWP\Opcache(); | |
| 109 | - $this->flyapi = new FlyWP\FlyApi(); | |
| 110 | - $this->email = new FlyWP\Email(); | |
| 111 | - $this->optimize = new FlyWP\Optimizations(); | |
| 105 | + $this->router = new FlyWP\Router(); | |
| 106 | + $this->rest = new FlyWP\Api(); | |
| 107 | + $this->fastcgi = new FlyWP\Fastcgi_Cache(); | |
| 108 | + $this->opcache = new FlyWP\Opcache(); | |
| 109 | + $this->flyapi = new FlyWP\FlyApi(); | |
| 110 | + $this->email = new FlyWP\Email(); | |
| 111 | + $this->optimize = new FlyWP\Optimizations(); | |
| 112 | + $this->litespeed = new FlyWP\Litespeed(); | |
| 112 | 113 | } |
| 113 | 114 | |
| 114 | 115 | /** |
| 115 | 116 | * Show admin notice if API key is not set. |
| @@ -137,26 +138,8 @@ | ||
| 137 | 138 | * @return string |
| 138 | 139 | */ |
| 139 | 140 | public function get_key() { |
| 140 | 141 | return FLYWP_API_KEY; |
| 141 | - } | |
| 142 | - | |
| 143 | - /** | |
| 144 | - * Debugging helper. | |
| 145 | - * | |
| 146 | - * @param mixed $value | |
| 147 | - * @param bool $die | |
| 148 | - * | |
| 149 | - * @return void | |
| 150 | - */ | |
| 151 | - public function debug( $value, $die = false ) { | |
| 152 | - echo '<pre>'; | |
| 153 | - print_r( $value ); | |
| 154 | - echo '</pre>'; | |
| 155 | - | |
| 156 | - if ( $die ) { | |
| 157 | - die(); | |
| 158 | - } | |
| 159 | 142 | } |
| 160 | 143 | } |
| 161 | 144 | |
| 162 | 145 | /** |