| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: AutomatorWP |
| 4 | 4 | * Plugin URI: https://automatorwp.com |
| 5 | 5 | * Description: Connect your WordPress plugins together and create automated workflows with no code! |
| 6 | - * Version: 5.8.5 | |
| 6 | + * Version: 6.0.3 | |
| 7 | 7 | * Author: AutomatorWP |
| 8 | 8 | * Author URI: https://automatorwp.com/ |
| 9 | 9 | * Text Domain: automatorwp |
| 10 | 10 | * Domain Path: /languages/ |
| @@ -98,10 +98,10 @@ | ||
| 98 | 98 | self::$instance = new AutomatorWP(); |
| 99 | 99 | self::$instance->constants(); |
| 100 | 100 | self::$instance->libraries(); |
| 101 | 101 | self::$instance->classes(); |
| 102 | - self::$instance->compatibility(); | |
| 103 | 102 | self::$instance->includes(); |
| 103 | + self::$instance->modules(); | |
| 104 | 104 | self::$instance->hooks(); |
| 105 | 105 | |
| 106 | 106 | } |
| 107 | 107 | |
| @@ -118,9 +118,9 @@ | ||
| 118 | 118 | */ |
| 119 | 119 | private function constants() { |
| 120 | 120 | |
| 121 | 121 | // Plugin version |
| 122 | - define( 'AUTOMATORWP_VER', '5.8.5' ); | |
| 122 | + define( 'AUTOMATORWP_VER', '6.0.3' ); | |
| 123 | 123 | |
| 124 | 124 | // Plugin file |
| 125 | 125 | define( 'AUTOMATORWP_FILE', __FILE__ ); |
| 126 | 126 | |
| @@ -178,22 +178,8 @@ | ||
| 178 | 178 | |
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | /** |
| 182 | - * Include compatibility files | |
| 183 | - * | |
| 184 | - * @access private | |
| 185 | - * @since 4.2.0 | |
| 186 | - * @return void | |
| 187 | - */ | |
| 188 | - private function compatibility() { | |
| 189 | - | |
| 190 | - // GamiPress backward compatibility | |
| 191 | - require_once AUTOMATORWP_DIR . 'includes/compatibility/4.2.0.php'; | |
| 192 | - | |
| 193 | - } | |
| 194 | - | |
| 195 | - /** | |
| 196 | 182 | * Include plugin files |
| 197 | 183 | * |
| 198 | 184 | * @access private |
| 199 | 185 | * @since 1.0.0 |
| @@ -200,9 +186,8 @@ | ||
| 200 | 186 | * @return void |
| 201 | 187 | */ |
| 202 | 188 | private function includes() { |
| 203 | 189 | |
| 204 | - // The rest of files | |
| 205 | 190 | require_once AUTOMATORWP_DIR . 'includes/admin.php'; |
| 206 | 191 | require_once AUTOMATORWP_DIR . 'includes/custom-tables.php'; |
| 207 | 192 | require_once AUTOMATORWP_DIR . 'includes/ajax-functions.php'; |
| 208 | 193 | require_once AUTOMATORWP_DIR . 'includes/filters.php'; |
| @@ -222,8 +207,21 @@ | ||
| 222 | 207 | require_once AUTOMATORWP_DIR . 'includes/events.php'; |
| 223 | 208 | require_once AUTOMATORWP_DIR . 'includes/logs.php'; |
| 224 | 209 | require_once AUTOMATORWP_DIR . 'includes/users.php'; |
| 225 | 210 | require_once AUTOMATORWP_DIR . 'includes/utilities.php'; |
| 211 | + | |
| 212 | + } | |
| 213 | + | |
| 214 | + /** | |
| 215 | + * Include modules files | |
| 216 | + * | |
| 217 | + * @access private | |
| 218 | + * @since 1.0.0 | |
| 219 | + * @return void | |
| 220 | + */ | |
| 221 | + private function modules() { | |
| 222 | + | |
| 223 | + require_once AUTOMATORWP_DIR . 'modules/ai-assistant/automatorwp-ai-assistant.php'; | |
| 226 | 224 | |
| 227 | 225 | } |
| 228 | 226 | |
| 229 | 227 | /** |