← All changes
|
app/modules/import-export-customization/data/controller.php
+2
-8
4.2.0
→
3.32.2
View file →
| @@ -2,14 +2,11 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Elementor\App\Modules\ImportExportCustomization\Data; |
| 4 | 4 | |
| 5 | 5 | use Elementor\App\Modules\ImportExportCustomization\Data\Routes\Export; |
| 6 | +use Elementor\App\Modules\ImportExportCustomization\Data\Routes\Upload; | |
| 6 | 7 | use Elementor\App\Modules\ImportExportCustomization\Data\Routes\Import; |
| 7 | 8 | use Elementor\App\Modules\ImportExportCustomization\Data\Routes\Import_Runner; |
| 8 | -use Elementor\App\Modules\ImportExportCustomization\Data\Routes\Manager_Url; | |
| 9 | -use Elementor\App\Modules\ImportExportCustomization\Data\Routes\Process_Media; | |
| 10 | -use Elementor\App\Modules\ImportExportCustomization\Data\Routes\Revert; | |
| 11 | -use Elementor\App\Modules\ImportExportCustomization\Data\Routes\Upload; | |
| 12 | 9 | |
| 13 | 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 14 | 11 | exit; // Exit if accessed directly. |
| 15 | 12 | } |
| @@ -27,12 +24,9 @@ | ||
| 27 | 24 | } |
| 28 | 25 | |
| 29 | 26 | private static function register_routes() { |
| 30 | 27 | ( new Export() )->register_route( self::API_NAMESPACE, self::API_BASE ); |
| 28 | + ( new Upload() )->register_route( self::API_NAMESPACE, self::API_BASE ); | |
| 31 | 29 | ( new Import() )->register_route( self::API_NAMESPACE, self::API_BASE ); |
| 32 | 30 | ( new Import_Runner() )->register_route( self::API_NAMESPACE, self::API_BASE ); |
| 33 | - ( new Manager_Url() )->register_route( self::API_NAMESPACE, self::API_BASE ); | |
| 34 | - ( new Process_Media() )->register_route( self::API_NAMESPACE, self::API_BASE ); | |
| 35 | - ( new Revert() )->register_route( self::API_NAMESPACE, self::API_BASE ); | |
| 36 | - ( new Upload() )->register_route( self::API_NAMESPACE, self::API_BASE ); | |
| 37 | 31 | } |
| 38 | 32 | } |