| @@ -9,29 +9,19 @@ | ||
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * Json Handler |
| 12 | 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' );` | |
| 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 | 14 | */ |
| 15 | 15 | class Json_Handler extends Files_Upload_Handler { |
| 16 | - | |
| 17 | - /** | |
| 18 | - * @deprecated 3.5.0 | |
| 19 | - */ | |
| 20 | 16 | public static function get_name() { |
| 21 | 17 | return 'json-handler'; |
| 22 | 18 | } |
| 23 | 19 | |
| 24 | - /** | |
| 25 | - * @deprecated 3.5.0 | |
| 26 | - */ | |
| 27 | 20 | public function get_mime_type() { |
| 28 | 21 | return 'application/json'; |
| 29 | 22 | } |
| 30 | 23 | |
| 31 | - /** | |
| 32 | - * @deprecated 3.5.0 | |
| 33 | - */ | |
| 34 | 24 | public function get_file_type() { |
| 35 | 25 | return 'json'; |
| 36 | 26 | } |
| 37 | 27 | } |