| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * Plugin Name: Auto Alt Text |
| 5 | 5 | * Description: This plugin allows you to automatically generate an Alt Text for images uploaded into the media library via AI.. |
| 6 | - * Version: 2.6.0 | |
| 6 | + * Version: 2.5.2 | |
| 7 | 7 | * Author: Valerio Monti |
| 8 | 8 | * Author URI: https://www.vmweb.it |
| 9 | 9 | * Text Domain: auto-alt-text |
| 10 | 10 | * Domain Path: /languages |
| @@ -13,9 +13,9 @@ | ||
| 13 | 13 | * Requires WP: 6.0 |
| 14 | 14 | * Namespace: AATXT |
| 15 | 15 | */ |
| 16 | 16 | |
| 17 | -use AATXT\App\Core\PluginBootstrap; | |
| 17 | +use AATXT\App\Setup; | |
| 18 | 18 | |
| 19 | 19 | if ( ! defined( 'ABSPATH' ) ) { |
| 20 | 20 | exit; // Exit if accessed directly. |
| 21 | 21 | } |
| @@ -25,5 +25,5 @@ | ||
| 25 | 25 | define('AATXT_LANGUAGES_RELATIVE_PATH', dirname( plugin_basename( __FILE__ ) ) . '/languages/'); |
| 26 | 26 | |
| 27 | 27 | require AATXT_ABSPATH . '/vendor/autoload.php'; |
| 28 | 28 | |
| 29 | -PluginBootstrap::init(AATXT_FILE_ABSPATH); | |
| 29 | +Setup::register(); | |