| @@ -6,32 +6,17 @@ | ||
| 6 | 6 | if ( ! defined( 'ABSPATH' ) ) { |
| 7 | 7 | exit; // Exit if accessed directly. |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | -/** | |
| 11 | - * Json Handler | |
| 12 | - * | |
| 13 | - * @deprecated 3.5.0 Use `Elementor\Core\Files\File_Types\Svg` instead, accessed by calling `Plugin::$instance->uploads_manager->get_file_type_handlers( 'svg' );` | |
| 14 | - */ | |
| 15 | 10 | class Json_Handler extends Files_Upload_Handler { |
| 16 | - | |
| 17 | - /** | |
| 18 | - * @deprecated 3.5.0 | |
| 19 | - */ | |
| 20 | 11 | public static function get_name() { |
| 21 | 12 | return 'json-handler'; |
| 22 | 13 | } |
| 23 | 14 | |
| 24 | - /** | |
| 25 | - * @deprecated 3.5.0 | |
| 26 | - */ | |
| 27 | 15 | public function get_mime_type() { |
| 28 | 16 | return 'application/json'; |
| 29 | 17 | } |
| 30 | 18 | |
| 31 | - /** | |
| 32 | - * @deprecated 3.5.0 | |
| 33 | - */ | |
| 34 | 19 | public function get_file_type() { |
| 35 | 20 | return 'json'; |
| 36 | 21 | } |
| 37 | 22 | } |